DAOs with singular/plural options for entity titles
[civicrm-core.git] / CRM / Price / DAO / PriceSetEntity.php
index 78e479a53a754dd5d0b21e970a826ef93e9f10fc..4b1d3749a55dba7d1a84b0000bfa37974338a7a5 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Price/PriceSetEntity.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f2d6aeda95e4bde969d5ccebe9f26791)
+ * (GenCodeChecksum:0284d1a184dd635d93dd170e94451e86)
  */
 
 /**
@@ -68,9 +68,12 @@ class CRM_Price_DAO_PriceSetEntity 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('Price Set Entities');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Price Set Entities') : ts('Price Set Entity');
   }
 
   /**