*
* Generated from xml/schema/CRM/Mailing/Event/Subscribe.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:29a50c0404f021195a3102f41a67f3fa)
+ * (GenCodeChecksum:bb0b1d30d434faebb2d65fcb01613f01)
*/
/**
class CRM_Mailing_Event_DAO_Subscribe extends CRM_Core_DAO {
const EXT = 'civicrm';
const TABLE_ADDED = '';
+ const COMPONENT = 'CiviMail';
/**
* Static instance to hold the table name.
'entity' => 'Subscribe',
'bao' => 'CRM_Mailing_Event_BAO_Subscribe',
'localizable' => 0,
+ 'html' => [
+ 'type' => 'Number',
+ ],
'add' => NULL,
],
'group_id' => [
'name' => 'group_id',
'type' => CRM_Utils_Type::T_INT,
- 'title' => ts('Mailing Subscribe Group'),
+ 'title' => ts('Group ID'),
'description' => ts('FK to Group'),
'required' => TRUE,
'where' => 'civicrm_mailing_event_subscribe.group_id',
'FKClassName' => 'CRM_Contact_DAO_Group',
'html' => [
'type' => 'Select',
+ 'label' => ts("Group"),
],
'pseudoconstant' => [
'table' => 'civicrm_group',
'contact_id' => [
'name' => 'contact_id',
'type' => CRM_Utils_Type::T_INT,
- 'title' => ts('Mailing Subscribe Contact'),
+ 'title' => ts('Contact ID'),
'description' => ts('FK to Contact'),
'required' => TRUE,
'where' => 'civicrm_mailing_event_subscribe.contact_id',
'bao' => 'CRM_Mailing_Event_BAO_Subscribe',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'html' => [
+ 'label' => ts("Contact"),
+ ],
'add' => NULL,
],
'hash' => [