X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContact%2FDAO%2FDashboardContact.php;h=f8f4e87daa3c7c5f3a2888acf4f42f2ab4289337;hb=0ffdfe4c70d28bb2969fb835de1df23a8dc86538;hp=16c0b3b593796c93f952a45700125efe91740eaa;hpb=713d81aa9290f734d92e6371a732c40617a269e5;p=civicrm-core.git diff --git a/CRM/Contact/DAO/DashboardContact.php b/CRM/Contact/DAO/DashboardContact.php index 16c0b3b593..f8f4e87daa 100644 --- a/CRM/Contact/DAO/DashboardContact.php +++ b/CRM/Contact/DAO/DashboardContact.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contact/DashboardContact.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:67153c09e74eda2febf15986f9c04439) + * (GenCodeChecksum:ef3a393d20b6654dcef952f21df8072d) */ /** @@ -80,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'); } /**