*
* Generated from xml/schema/CRM/Mailing/MailingComponent.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5f490a6a53497465a1dcb603a9eba297)
+ * (GenCodeChecksum:1d0efc3e5ba8dcd6d6bbc422877b86b4)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Mailing Components');
+ }
+
/**
* Returns all the column names of this table
*
'entity' => 'MailingComponent',
'bao' => 'CRM_Mailing_BAO_MailingComponent',
'localizable' => 0,
+ 'add' => NULL,
],
'name' => [
'name' => 'name',
'entity' => 'MailingComponent',
'bao' => 'CRM_Mailing_BAO_MailingComponent',
'localizable' => 0,
+ 'add' => NULL,
],
'component_type' => [
'name' => 'component_type',
'pseudoconstant' => [
'callback' => 'CRM_Core_SelectValues::mailingComponents',
],
+ 'add' => NULL,
],
'subject' => [
'name' => 'subject',
'entity' => 'MailingComponent',
'bao' => 'CRM_Mailing_BAO_MailingComponent',
'localizable' => 0,
+ 'add' => NULL,
],
'body_html' => [
'name' => 'body_html',
'html' => [
'type' => 'TextArea',
],
+ 'add' => NULL,
],
'body_text' => [
'name' => 'body_text',
'html' => [
'type' => 'TextArea',
],
+ 'add' => NULL,
],
'is_default' => [
'name' => 'is_default',
'entity' => 'MailingComponent',
'bao' => 'CRM_Mailing_BAO_MailingComponent',
'localizable' => 0,
+ 'add' => NULL,
],
'is_active' => [
'name' => 'is_active',
'entity' => 'MailingComponent',
'bao' => 'CRM_Mailing_BAO_MailingComponent',
'localizable' => 0,
+ 'add' => NULL,
],
];
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);