Merge pull request #18411 from MegaphoneJon/pcp-wysiwyg
[civicrm-core.git] / CRM / Member / DAO / Membership.php
index 289f9ba2315fcb3f36e436e348e99e9a95277e0b..86173b83afcc6b600e17bc5b54f71bb343291e0b 100644 (file)
@@ -6,13 +6,15 @@
  *
  * Generated from xml/schema/CRM/Member/Membership.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9a307c1a63b4df70ae38f36ce4171cb6)
+ * (GenCodeChecksum:d80be256fb175b763047883b8694559c)
  */
 
 /**
  * Database access object for the Membership entity.
  */
 class CRM_Member_DAO_Membership extends CRM_Core_DAO {
+  const EXT = 'civicrm';
+  const TABLE_ADDED = '1.5';
 
   /**
    * Static instance to hold the table name.
@@ -151,9 +153,12 @@ class CRM_Member_DAO_Membership 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('Memberships');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Memberships') : ts('Membership');
   }
 
   /**