DAOs with singular/plural options for entity titles
[civicrm-core.git] / CRM / Core / DAO / RecurringEntity.php
index d22aa96ac773d2b782c7236cbda2939ccd5c5516..1cffe8c273d422715e5a1d9759a6d2cf16e2fc7f 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/RecurringEntity.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b78474c715335f7689a9a5fcdcb5718e)
+ * (GenCodeChecksum:2667b60a5f917352d52964de09cf85fa)
  */
 
 /**
@@ -73,9 +73,12 @@ class CRM_Core_DAO_RecurringEntity 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('Recurring Entities');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Recurring Entities') : ts('Recurring Entity');
   }
 
   /**