首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >实体注册模块在哪里存储注册数据以及如何删除?

实体注册模块在哪里存储注册数据以及如何删除?
EN

Drupal用户
提问于 2016-07-26 14:40:23
回答 1查看 132关注 0票数 1

我在查Drupal 7.50。我正在使用实体注册模块,我设置了一个小的教室注册内容,我用它来测试。

我的问题:

  • 实体注册在哪里存储注册数据?
  • 我如何看待收集到的信息?
  • 我怎么删除它?
EN

回答 1

Drupal用户

回答已采纳

发布于 2016-07-27 14:01:19

实体注册在哪里存储注册数据?

查看模块的.install文件,这些数据应该存储在带有名称注册的表中。特别是它的这些列应该接近您要查找的内容:

代码语言:javascript
复制
  'count' => array(
    'description' => 'How many spaces this registration should use towards the total capacity for this event.',
    'type' => 'int',
    'not null' => TRUE,
    'default' => 1,
  ),
  'user_uid' => array(
    'description' => 'The uid of the user associated with this registration.',
    'type' => 'int',
    'not null' => FALSE,
    'default' => 0,
  ),
  'author_uid' => array(
    'description' => 'The uid of the user who created this registration.',
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0,
  ),
  'state' => array(
    'description' => 'The {registration_state}.name of this registration.',
    'type' => 'varchar',
    'length' => 32,
    'not null' => TRUE,
    'default' => '',
  ),
  'created' => array(
    'description' => 'The Unix timestamp when the registration was created.',
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0,
  ),
  'updated' => array(
    'description' => 'The Unix timestamp when the registration was most recently saved.',
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0,

我如何看待收集到的信息?

选项1:只需浏览此表,使用首选的工具即可。

选项2:使用视图模块创建适当的视图,这也是社区文献中的建议,即:“不满意默认的注册列表?没问题,注册及其字段都是友好的视图。您可以覆盖默认的事件注册列表,创建附加的列表,等等”。您可能希望为此启用它的注册_视图子模块。

我怎么删除它?

直接删除上面提到的“注册”表中的相关行可能是直接的。但是,由于它与规则模块的集成,我宁愿使用这个模块(可能与查看批量操作模块相结合)来执行此类删除

票数 0
EN
页面原文内容由Drupal提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://drupal.stackexchange.com/questions/208389

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档