Merge pull request #18706 from civicrm/5.30
[civicrm-core.git] / CRM / Contact / DAO / DashboardContact.php
index 5ceac6dcbab8ba29eacc134fa947c68ae3f25b04..f8f4e87daa3c7c5f3a2888acf4f42f2ab4289337 100644 (file)
@@ -6,13 +6,15 @@
  *
  * Generated from xml/schema/CRM/Contact/DashboardContact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ebe84476b55f9383d54e5a645f657f83)
+ * (GenCodeChecksum:ef3a393d20b6654dcef952f21df8072d)
  */
 
 /**
  * Database access object for the DashboardContact entity.
  */
 class CRM_Contact_DAO_DashboardContact extends CRM_Core_DAO {
+  const EXT = 'civicrm';
+  const TABLE_ADDED = '3.1';
 
   /**
    * Static instance to hold the table name.
@@ -78,9 +80,12 @@ class CRM_Contact_DAO_DashboardContact 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('Dashboard Contacts');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Dashboard Contacts') : ts('Dashboard Contact');
   }
 
   /**
@@ -117,6 +122,7 @@ class CRM_Contact_DAO_DashboardContact extends CRM_Core_DAO {
           'entity' => 'DashboardContact',
           'bao' => 'CRM_Contact_BAO_DashboardContact',
           'localizable' => 0,
+          'add' => '3.1',
         ],
         'dashboard_id' => [
           'name' => 'dashboard_id',
@@ -130,6 +136,7 @@ class CRM_Contact_DAO_DashboardContact extends CRM_Core_DAO {
           'bao' => 'CRM_Contact_BAO_DashboardContact',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_Dashboard',
+          'add' => '3.1',
         ],
         'contact_id' => [
           'name' => 'contact_id',
@@ -143,6 +150,7 @@ class CRM_Contact_DAO_DashboardContact extends CRM_Core_DAO {
           'bao' => 'CRM_Contact_BAO_DashboardContact',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '3.1',
         ],
         'column_no' => [
           'name' => 'column_no',
@@ -155,6 +163,7 @@ class CRM_Contact_DAO_DashboardContact extends CRM_Core_DAO {
           'entity' => 'DashboardContact',
           'bao' => 'CRM_Contact_BAO_DashboardContact',
           'localizable' => 0,
+          'add' => '3.1',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -167,6 +176,7 @@ class CRM_Contact_DAO_DashboardContact extends CRM_Core_DAO {
           'entity' => 'DashboardContact',
           'bao' => 'CRM_Contact_BAO_DashboardContact',
           'localizable' => 0,
+          'add' => '3.1',
         ],
         'weight' => [
           'name' => 'weight',
@@ -179,6 +189,7 @@ class CRM_Contact_DAO_DashboardContact extends CRM_Core_DAO {
           'entity' => 'DashboardContact',
           'bao' => 'CRM_Contact_BAO_DashboardContact',
           'localizable' => 0,
+          'add' => '3.1',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);