DAOs with singular/plural options for entity titles
[civicrm-core.git] / CRM / ACL / DAO / ACLCache.php
index 7e3ac8429f163e60b091c50dbd90983a661e5afc..671354acb38805bbb0cb575b6726b370bf8f629c 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/ACL/ACLCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cbf36d56ce734a5f7ceeb2071b68ebf8)
+ * (GenCodeChecksum:cec3d7c7aced95902840b72829550156)
  */
 
 /**
@@ -68,9 +68,12 @@ class CRM_ACL_DAO_ACLCache 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('ACLCaches');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('ACLCaches') : ts('ACLCache');
   }
 
   /**