DAOs with singular/plural options for entity titles
[civicrm-core.git] / CRM / Contact / DAO / ACLContactCache.php
index 6b319f9636ce77e248b306c203b4f9451a161a5a..d5383fbc1d581d5c93c7ce630c57fb168d40ebe3 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/ACLContactCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:97d9be5e13ece64b6c9ad1722d9bca68)
+ * (GenCodeChecksum:ff86d1eed99d09ea6768d93b3cc39973)
  */
 
 /**
@@ -68,9 +68,12 @@ class CRM_Contact_DAO_ACLContactCache 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('ACLContact Caches');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('ACLContact Caches') : ts('ACLContact Cache');
   }
 
   /**