DAOs with singular/plural options for entity titles
[civicrm-core.git] / CRM / Price / DAO / PriceFieldValue.php
index c7c8e0913e40b12bf692fa82ba8d990383b35068..2057dd655d566bd7a4f6fb56afa4bac4883ebea2 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Price/PriceFieldValue.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a1acc613daec86c6049e545af5fc7fd1)
+ * (GenCodeChecksum:16987d2cc463a2d9290339ad37070f16)
  */
 
 /**
@@ -166,9 +166,12 @@ class CRM_Price_DAO_PriceFieldValue 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 Field Values');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Price Field Values') : ts('Price Field Value');
   }
 
   /**