X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FMailing%2FDAO%2FMailingAB.php;h=9b4572a42fee70e4eeaeb9bbb4f1ac14b55ca509;hb=f8ad51c9a8bdd32fcabc13e97342c4c355f5a172;hp=0e2215e1fc5f7a80a0f2c98d130825cecc72892c;hpb=40907409ee67ed8dc1b186995af54040f3555ef4;p=civicrm-core.git diff --git a/CRM/Mailing/DAO/MailingAB.php b/CRM/Mailing/DAO/MailingAB.php index 0e2215e1fc..9b4572a42f 100644 --- a/CRM/Mailing/DAO/MailingAB.php +++ b/CRM/Mailing/DAO/MailingAB.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Mailing/MailingAB.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:af0f7d34ddde7f3971aaac5abccfcd8c) + * (GenCodeChecksum:1308702399d924188a14948adb1a8a3f) */ /** @@ -15,6 +15,7 @@ class CRM_Mailing_DAO_MailingAB extends CRM_Core_DAO { const EXT = 'civicrm'; const TABLE_ADDED = ''; + const COMPONENT = 'CiviMail'; /** * Static instance to hold the table name. @@ -130,9 +131,12 @@ class CRM_Mailing_DAO_MailingAB 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('Mailing ABs'); + public static function getEntityTitle($plural = FALSE) { + return $plural ? ts('Mailing ABs') : ts('Mailing AB'); } /**