Merge pull request #19017 from eileenmcnaughton/remove_recur
[civicrm-core.git] / CRM / Member / DAO / MembershipStatus.php
index 5b780e4a5b9d21399a5f961b7a59ecd6ae7e7cfc..94ec0409d5e3bb0b7f0668383a8504a6848e8155 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:32d46c01e3eb4143e83820310037df39)
  */
 
 /**
@@ -15,6 +15,7 @@
 class CRM_Member_DAO_MembershipStatus extends CRM_Core_DAO {
   const EXT = 'civicrm';
   const TABLE_ADDED = '1.5';
+  const COMPONENT = 'CiviMember';
 
   /**
    * Static instance to hold the table name.
@@ -143,9 +144,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');
   }
 
   /**