Regenerate DAO files
[civicrm-core.git] / CRM / Batch / DAO / Batch.php
index f2571b674f8361eb9a1e159e5e11bf42da969857..3018c1e261edb8c135148ee425a2b8b5429d3c78 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Batch/Batch.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8169fc2f338afc4a163214c0018030be)
+ * (GenCodeChecksum:00a7601bf04fcaa5c8d5ae2e7f916d4f)
  */
 
 /**
@@ -157,9 +157,12 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
 
   /**
    * Returns localized title of this entity.
+   *
+   * @param bool $plural
+   *   Whether to return the plural version of the title.
    */
-  public static function getEntityTitle() {
-    return ts('Batches');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Batches') : ts('Batch');
   }
 
   /**
@@ -198,6 +201,9 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
           'entity' => 'Batch',
           'bao' => 'CRM_Batch_BAO_Batch',
           'localizable' => 0,
+          'html' => [
+            'type' => 'Number',
+          ],
           'add' => '3.3',
         ],
         'name' => [
@@ -254,7 +260,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
         'created_id' => [
           'name' => 'created_id',
           'type' => CRM_Utils_Type::T_INT,
-          'title' => ts('Batch Created By'),
+          'title' => ts('Created By Contact ID'),
           'description' => ts('FK to Contact ID'),
           'where' => 'civicrm_batch.created_id',
           'table_name' => 'civicrm_batch',
@@ -262,6 +268,9 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
           'bao' => 'CRM_Batch_BAO_Batch',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'html' => [
+            'label' => ts("Created By"),
+          ],
           'add' => '3.3',
         ],
         'created_date' => [
@@ -283,7 +292,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
         'modified_id' => [
           'name' => 'modified_id',
           'type' => CRM_Utils_Type::T_INT,
-          'title' => ts('Batch Modified By'),
+          'title' => ts('Modified By Contact ID'),
           'description' => ts('FK to Contact ID'),
           'where' => 'civicrm_batch.modified_id',
           'table_name' => 'civicrm_batch',
@@ -291,6 +300,9 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
           'bao' => 'CRM_Batch_BAO_Batch',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'html' => [
+            'label' => ts("Modified By"),
+          ],
           'add' => '3.3',
         ],
         'modified_date' => [
@@ -308,7 +320,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
         'saved_search_id' => [
           'name' => 'saved_search_id',
           'type' => CRM_Utils_Type::T_INT,
-          'title' => ts('Batch Smart Group'),
+          'title' => ts('Smart Group ID'),
           'description' => ts('FK to Saved Search ID'),
           'where' => 'civicrm_batch.saved_search_id',
           'table_name' => 'civicrm_batch',
@@ -318,6 +330,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
           'FKClassName' => 'CRM_Contact_DAO_SavedSearch',
           'html' => [
             'type' => 'EntityRef',
+            'label' => ts("Smart Group"),
           ],
           'add' => '4.1',
         ],