DAOs with singular/plural options for entity titles
[civicrm-core.git] / CRM / Member / DAO / MembershipStatus.php
index 5b780e4a5b9d21399a5f961b7a59ecd6ae7e7cfc..5857dca3cf5dafedbd4ca755d8db77efb6d8e9bf 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/MembershipStatus.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f0c470d5aca6e3696a0ad8345531f8b8)
+ * (GenCodeChecksum:6bdad135e9f0e94f085296d68ca59253)
  */
 
 /**
@@ -143,9 +143,12 @@ class CRM_Member_DAO_MembershipStatus 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('Membership Statuses');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Membership Statuses') : ts('Membership Status');
   }
 
   /**