DAOs with singular/plural options for entity titles
[civicrm-core.git] / CRM / Contact / DAO / GroupOrganization.php
index 407ea31d83f505e3f82cbe9c0c2f7fa273f8c6bd..0553dff9ec648657c078cbfafa26c47b8d7c6c8d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/GroupOrganization.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:dfe8edf8f786790af95f09f456d1cbe7)
+ * (GenCodeChecksum:0ae83aef7dbfb877f46a92f27001dd6b)
  */
 
 /**
@@ -61,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');
   }
 
   /**