DAOs with singular/plural options for entity titles
[civicrm-core.git] / CRM / Contribute / DAO / ContributionPage.php
index 80ec08d3acf67e474c303f50f213a8665539c268..be85752fb787330ae99639d90580752ed572abab 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/ContributionPage.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:902bfa164280b9ba21a7cb5a38aceba8)
+ * (GenCodeChecksum:4910b973830834fcb2ce5bb3637070d6)
  */
 
 /**
@@ -362,9 +362,12 @@ class CRM_Contribute_DAO_ContributionPage 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 Pages');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Contribution Pages') : ts('Contribution Page');
   }
 
   /**