Merge pull request #18857 from eileenmcnaughton/sort2
[civicrm-core.git] / CRM / Contact / DAO / SavedSearch.php
index a5fb2d460375d06c57bd1bcc742f8c05b9643cc4..c532997a2a3db7381442cdf6be1468f12e9e57c2 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/SavedSearch.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4b2f292a8196a5dc4a73afc078cd11cb)
+ * (GenCodeChecksum:d863f8b0b8659633bc84578e1d6cbf10)
  */
 
 /**
@@ -82,9 +82,12 @@ class CRM_Contact_DAO_SavedSearch 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('Saved Searches');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Saved Searches') : ts('Saved Search');
   }
 
   /**