DAOs with singular/plural options for entity titles
[civicrm-core.git] / CRM / Pledge / DAO / PledgePayment.php
index 234a5342b2f73204ab0f2e8b3c3c1bd56724c024..bb88db54a733cfbd2c533005a92c3e0d8f5a8f4b 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Pledge/PledgePayment.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c47a2cbc83c672a8209bc5e725b2f81a)
+ * (GenCodeChecksum:b3b6719f4f4a8c441f271213ff7f52db)
  */
 
 /**
@@ -106,9 +106,12 @@ class CRM_Pledge_DAO_PledgePayment 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('Pledge Payments');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Pledge Payments') : ts('Pledge Payment');
   }
 
   /**