API/DAO Metadata - Retain versioning metadata for possible usage in runtime+tooling
[civicrm-core.git] / CRM / Contact / DAO / GroupContact.php
index 6eac2f5d0f70590bb3cc3f9301f914a59146fd20..0605b3a09f0e941234ac67eebfe0fcd855a9b3a4 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/GroupContact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:dcc7fe36954bd34340026bb6af5235ef)
+ * (GenCodeChecksum:11947c2ac6a20781c2daa15b0f894983)
  */
 
 /**
@@ -78,6 +78,13 @@ class CRM_Contact_DAO_GroupContact extends CRM_Core_DAO {
     parent::__construct();
   }
 
+  /**
+   * Returns localized title of this entity.
+   */
+  public static function getEntityTitle() {
+    return ts('Group Contacts');
+  }
+
   /**
    * Returns foreign keys and entity references.
    *
@@ -115,6 +122,7 @@ class CRM_Contact_DAO_GroupContact extends CRM_Core_DAO {
           'entity' => 'GroupContact',
           'bao' => 'CRM_Contact_BAO_GroupContact',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'group_id' => [
           'name' => 'group_id',
@@ -136,6 +144,7 @@ class CRM_Contact_DAO_GroupContact extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '1.1',
         ],
         'contact_id' => [
           'name' => 'contact_id',
@@ -149,6 +158,7 @@ class CRM_Contact_DAO_GroupContact extends CRM_Core_DAO {
           'bao' => 'CRM_Contact_BAO_GroupContact',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '1.1',
         ],
         'status' => [
           'name' => 'status',
@@ -168,6 +178,7 @@ class CRM_Contact_DAO_GroupContact extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::groupContactStatus',
           ],
+          'add' => '1.1',
         ],
         'location_id' => [
           'name' => 'location_id',
@@ -180,6 +191,7 @@ class CRM_Contact_DAO_GroupContact extends CRM_Core_DAO {
           'bao' => 'CRM_Contact_BAO_GroupContact',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_LocBlock',
+          'add' => '1.1',
         ],
         'email_id' => [
           'name' => 'email_id',
@@ -192,6 +204,7 @@ class CRM_Contact_DAO_GroupContact extends CRM_Core_DAO {
           'bao' => 'CRM_Contact_BAO_GroupContact',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_Email',
+          'add' => '1.1',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);