Merge pull request #18891 from civicrm/5.31
[civicrm-core.git] / CRM / Contact / DAO / DashboardContact.php
index 360c5caf71d43a8fdcc0af811ffd331a825981a6..f8f4e87daa3c7c5f3a2888acf4f42f2ab4289337 100644 (file)
@@ -6,13 +6,15 @@
  *
  * Generated from xml/schema/CRM/Contact/DashboardContact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c6084fad33e2fed9634eee46cfcfd4ee)
+ * (GenCodeChecksum:ef3a393d20b6654dcef952f21df8072d)
  */
 
 /**
  * Database access object for the DashboardContact entity.
  */
 class CRM_Contact_DAO_DashboardContact extends CRM_Core_DAO {
+  const EXT = 'civicrm';
+  const TABLE_ADDED = '3.1';
 
   /**
    * Static instance to hold the table name.
@@ -78,9 +80,12 @@ class CRM_Contact_DAO_DashboardContact 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('Dashboard Contacts');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Dashboard Contacts') : ts('Dashboard Contact');
   }
 
   /**