Add titles and icons to entities
[civicrm-core.git] / CRM / Mailing / DAO / MailingAB.php
index 64aec05fb14c632b55d72d50c0d77e02ef44a863..3a34d2739c687ce5996cf1f6855313f3b52bca48 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/MailingAB.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:74ff2df50144a54a2c5a740187f6a8ca)
+ * (GenCodeChecksum:afe07cb9f1839c37e7511949fc1f0bdc)
  */
 
 /**
@@ -126,6 +126,13 @@ class CRM_Mailing_DAO_MailingAB extends CRM_Core_DAO {
     parent::__construct();
   }
 
+  /**
+   * Returns localized title of this entity.
+   */
+  public static function getEntityTitle() {
+    return ts('Mailing ABs');
+  }
+
   /**
    * Returns foreign keys and entity references.
    *
@@ -227,6 +234,7 @@ class CRM_Mailing_DAO_MailingAB extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Domain ID'),
           'description' => ts('Which site is this mailing for'),
+          'required' => TRUE,
           'where' => 'civicrm_mailing_abtest.domain_id',
           'table_name' => 'civicrm_mailing_abtest',
           'entity' => 'MailingAB',