Merge pull request #19075 from colemanw/searchable
[civicrm-core.git] / CRM / Core / DAO / PreferencesDate.php
index 4f50074007651af047622224456d710d13bd0638..cafec81099b62d9046a0ad62836095187734c8a4 100644 (file)
@@ -6,13 +6,15 @@
  *
  * Generated from xml/schema/CRM/Core/PreferencesDate.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e950a7985ee12a8b5ec6e926e8a49b20)
+ * (GenCodeChecksum:a0d91310a76fe98662806ef3104d8f30)
  */
 
 /**
  * Database access object for the PreferencesDate entity.
  */
 class CRM_Core_DAO_PreferencesDate extends CRM_Core_DAO {
+  const EXT = 'civicrm';
+  const TABLE_ADDED = '2.0';
 
   /**
    * Static instance to hold the table name.
@@ -85,9 +87,12 @@ class CRM_Core_DAO_PreferencesDate 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('Preferences Dates');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Preferences Dates') : ts('Preferences Date');
   }
 
   /**