DAOs with singular/plural options for entity titles
[civicrm-core.git] / CRM / Core / DAO / UFGroup.php
index ae79d22da8e8343abe11e7d94e866bbf7d690beb..89d25b997ee094e3df91abdcdc0e553c7825c7dd 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/UFGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1cac6e6b80a630f69ce25f709a20e4a3)
+ * (GenCodeChecksum:e33df676b4e3ae50e18f1c44e437e3ea)
  */
 
 /**
@@ -227,9 +227,12 @@ class CRM_Core_DAO_UFGroup 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('UFGroups');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('UFGroups') : ts('UFGroup');
   }
 
   /**