Merge pull request #18493 from mlutfy/campaignReportDefaults
[civicrm-core.git] / CRM / Contact / DAO / GroupOrganization.php
index 84b18a513fbc91e223ecdbff69928ca86804977e..0553dff9ec648657c078cbfafa26c47b8d7c6c8d 100644 (file)
@@ -6,13 +6,15 @@
  *
  * Generated from xml/schema/CRM/Contact/GroupOrganization.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:12abfd5fb4d2eef796fec3a526338538)
+ * (GenCodeChecksum:0ae83aef7dbfb877f46a92f27001dd6b)
  */
 
 /**
  * Database access object for the GroupOrganization entity.
  */
 class CRM_Contact_DAO_GroupOrganization extends CRM_Core_DAO {
+  const EXT = 'civicrm';
+  const TABLE_ADDED = '2.0';
 
   /**
    * Static instance to hold the table name.
@@ -59,9 +61,12 @@ class CRM_Contact_DAO_GroupOrganization 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 Organizations');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Group Organizations') : ts('Group Organization');
   }
 
   /**
@@ -99,6 +104,7 @@ class CRM_Contact_DAO_GroupOrganization extends CRM_Core_DAO {
           'entity' => 'GroupOrganization',
           'bao' => 'CRM_Contact_BAO_GroupOrganization',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'group_id' => [
           'name' => 'group_id',
@@ -120,6 +126,7 @@ class CRM_Contact_DAO_GroupOrganization extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '2.0',
         ],
         'organization_id' => [
           'name' => 'organization_id',
@@ -133,6 +140,7 @@ class CRM_Contact_DAO_GroupOrganization extends CRM_Core_DAO {
           'bao' => 'CRM_Contact_BAO_GroupOrganization',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '2.0',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);