X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContact%2FDAO%2FDashboardContact.php;h=f8f4e87daa3c7c5f3a2888acf4f42f2ab4289337;hb=0ffdfe4c70d28bb2969fb835de1df23a8dc86538;hp=360c5caf71d43a8fdcc0af811ffd331a825981a6;hpb=c797aecef3043ddaa5e694edcb87456eddcc9ef1;p=civicrm-core.git diff --git a/CRM/Contact/DAO/DashboardContact.php b/CRM/Contact/DAO/DashboardContact.php index 360c5caf71..f8f4e87daa 100644 --- a/CRM/Contact/DAO/DashboardContact.php +++ b/CRM/Contact/DAO/DashboardContact.php @@ -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'); } /**