Merge pull request #18857 from eileenmcnaughton/sort2
[civicrm-core.git] / CRM / Contact / DAO / GroupNesting.php
index 2f6a61b8f5e129fc08e261717ab675196ea2e0ba..6262c1f5a44fb0bc50a2d9d4e7c3987db5c3881f 100644 (file)
@@ -6,13 +6,15 @@
  *
  * Generated from xml/schema/CRM/Contact/GroupNesting.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7e5dfd763c2f4b39ff7f3ea962269bae)
+ * (GenCodeChecksum:396dffdb22106c85cc4832b61307c264)
  */
 
 /**
  * Database access object for the GroupNesting entity.
  */
 class CRM_Contact_DAO_GroupNesting 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_GroupNesting 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 Nestings');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Group Nestings') : ts('Group Nesting');
   }
 
   /**