Display public title and description on profiles and unsubscribe/subscribe forms...
[civicrm-core.git] / CRM / Contact / DAO / GroupContactCache.php
index 10760ac2d799f691ac39a1c52f6466f1de66b206..e4310747a9dbb84608b5dd80fd15343d95b1af6b 100644 (file)
@@ -6,13 +6,15 @@
  *
  * Generated from xml/schema/CRM/Contact/GroupContactCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:773c4e4cbe66d404e30e3dffa2dcb8a1)
+ * (GenCodeChecksum:424f49d5c972e05144c327cf7ba0992c)
  */
 
 /**
  * Database access object for the GroupContactCache entity.
  */
 class CRM_Contact_DAO_GroupContactCache extends CRM_Core_DAO {
+  const EXT = 'civicrm';
+  const TABLE_ADDED = '2.1';
 
   /**
    * Static instance to hold the table name.
@@ -59,9 +61,12 @@ class CRM_Contact_DAO_GroupContactCache 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('Group Contact Caches');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Group Contact Caches') : ts('Group Contact Cache');
   }
 
   /**
@@ -99,6 +104,7 @@ class CRM_Contact_DAO_GroupContactCache extends CRM_Core_DAO {
           'entity' => 'GroupContactCache',
           'bao' => 'CRM_Contact_BAO_GroupContactCache',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'group_id' => [
           'name' => 'group_id',
@@ -120,6 +126,7 @@ class CRM_Contact_DAO_GroupContactCache extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '2.1',
         ],
         'contact_id' => [
           'name' => 'contact_id',
@@ -133,6 +140,7 @@ class CRM_Contact_DAO_GroupContactCache extends CRM_Core_DAO {
           'bao' => 'CRM_Contact_BAO_GroupContactCache',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '2.1',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);