DAOs with singular/plural options for entity titles
[civicrm-core.git] / CRM / Event / Cart / DAO / EventInCart.php
index d1550cd54ad61d1c01258fd53aa70168817eebce..61f42ceb2254f03560b88ff74ae569a4793d8c69 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/Cart/EventInCart.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b1cb9524ae26740c93dda80d0cb4ff91)
+ * (GenCodeChecksum:ef07999cbb7872dc9c1cfa6a0055bee1)
  */
 
 /**
@@ -61,9 +61,12 @@ class CRM_Event_Cart_DAO_EventInCart 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('Event In Carts');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Event In Carts') : ts('Event In Cart');
   }
 
   /**