Merge pull request #18857 from eileenmcnaughton/sort2
[civicrm-core.git] / CRM / Contact / DAO / SavedSearch.php
index 0d3dcbbedd00e0bb963abc455a522b5fab111a8a..c532997a2a3db7381442cdf6be1468f12e9e57c2 100644 (file)
@@ -6,13 +6,15 @@
  *
  * Generated from xml/schema/CRM/Contact/SavedSearch.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4093fd1cfa684e54d609528d8df160ca)
+ * (GenCodeChecksum:d863f8b0b8659633bc84578e1d6cbf10)
  */
 
 /**
  * Database access object for the SavedSearch entity.
  */
 class CRM_Contact_DAO_SavedSearch extends CRM_Core_DAO {
+  const EXT = 'civicrm';
+  const TABLE_ADDED = '1.1';
 
   /**
    * Static instance to hold the table name.
@@ -80,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');
   }
 
   /**