Merge in 5.32
[civicrm-core.git] / CRM / Contact / DAO / GroupContact.php
index 0605b3a09f0e941234ac67eebfe0fcd855a9b3a4..7838dde527e92e54ab8db6db939a9b90746bed1b 100644 (file)
@@ -6,13 +6,15 @@
  *
  * Generated from xml/schema/CRM/Contact/GroupContact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:11947c2ac6a20781c2daa15b0f894983)
+ * (GenCodeChecksum:ea7c012e774a203b869e0fadec080cab)
  */
 
 /**
  * Database access object for the GroupContact entity.
  */
 class CRM_Contact_DAO_GroupContact extends CRM_Core_DAO {
+  const EXT = 'civicrm';
+  const TABLE_ADDED = '1.1';
 
   /**
    * Static instance to hold the table name.
@@ -80,9 +82,12 @@ class CRM_Contact_DAO_GroupContact 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 Contacts');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Group Contacts') : ts('Group Contact');
   }
 
   /**