DAOs with singular/plural options for entity titles
[civicrm-core.git] / CRM / Contact / DAO / RelationshipCache.php
index cfa5a75bc2e0ec936dd9198202d1190c36cef8e6..1e874cb2bd9ac70fbfc822e3db29c9f40f6151f4 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/RelationshipCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b40781c15c3351a766a6083522f0e5e4)
+ * (GenCodeChecksum:6de8ba08019ff8821fd4e09f14db6da9)
  */
 
 /**
@@ -124,9 +124,12 @@ class CRM_Contact_DAO_RelationshipCache 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('Relationship Caches');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Relationship Caches') : ts('Relationship Cache');
   }
 
   /**