DAOs with singular/plural options for entity titles
[civicrm-core.git] / CRM / Contribute / DAO / ContributionSoft.php
index 3a1a9b7af7609c05af4aa5179fc6cb8151f185bd..fa78630bad12eca067132a37ffb3e327aaa2b053 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/ContributionSoft.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:caa58722ef865c7342fdff08f24d86ee)
+ * (GenCodeChecksum:e37496d0b9938151e5bcf9e6dad23c0a)
  */
 
 /**
@@ -104,9 +104,12 @@ class CRM_Contribute_DAO_ContributionSoft 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('Contribution Softs');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Contribution Softs') : ts('Contribution Soft');
   }
 
   /**