API/DAO Metadata - Retain versioning metadata for possible usage in runtime+tooling
[civicrm-core.git] / CRM / Mailing / DAO / MailingComponent.php
index 3740b74ee3b65e4f8d9cfca18a90d864b8b5347f..cd35b7cce0d38c183c18ac7d54c6f07d772da54b 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/MailingComponent.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5f490a6a53497465a1dcb603a9eba297)
+ * (GenCodeChecksum:1d0efc3e5ba8dcd6d6bbc422877b86b4)
  */
 
 /**
@@ -88,6 +88,13 @@ class CRM_Mailing_DAO_MailingComponent extends CRM_Core_DAO {
     parent::__construct();
   }
 
+  /**
+   * Returns localized title of this entity.
+   */
+  public static function getEntityTitle() {
+    return ts('Mailing Components');
+  }
+
   /**
    * Returns all the column names of this table
    *
@@ -106,6 +113,7 @@ class CRM_Mailing_DAO_MailingComponent extends CRM_Core_DAO {
           'entity' => 'MailingComponent',
           'bao' => 'CRM_Mailing_BAO_MailingComponent',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'name' => [
           'name' => 'name',
@@ -119,6 +127,7 @@ class CRM_Mailing_DAO_MailingComponent extends CRM_Core_DAO {
           'entity' => 'MailingComponent',
           'bao' => 'CRM_Mailing_BAO_MailingComponent',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'component_type' => [
           'name' => 'component_type',
@@ -138,6 +147,7 @@ class CRM_Mailing_DAO_MailingComponent extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::mailingComponents',
           ],
+          'add' => NULL,
         ],
         'subject' => [
           'name' => 'subject',
@@ -150,6 +160,7 @@ class CRM_Mailing_DAO_MailingComponent extends CRM_Core_DAO {
           'entity' => 'MailingComponent',
           'bao' => 'CRM_Mailing_BAO_MailingComponent',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'body_html' => [
           'name' => 'body_html',
@@ -166,6 +177,7 @@ class CRM_Mailing_DAO_MailingComponent extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => NULL,
         ],
         'body_text' => [
           'name' => 'body_text',
@@ -182,6 +194,7 @@ class CRM_Mailing_DAO_MailingComponent extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => NULL,
         ],
         'is_default' => [
           'name' => 'is_default',
@@ -194,6 +207,7 @@ class CRM_Mailing_DAO_MailingComponent extends CRM_Core_DAO {
           'entity' => 'MailingComponent',
           'bao' => 'CRM_Mailing_BAO_MailingComponent',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -205,6 +219,7 @@ class CRM_Mailing_DAO_MailingComponent extends CRM_Core_DAO {
           'entity' => 'MailingComponent',
           'bao' => 'CRM_Mailing_BAO_MailingComponent',
           'localizable' => 0,
+          'add' => NULL,
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);