DAOs with singular/plural options for entity titles
[civicrm-core.git] / CRM / Mailing / DAO / BounceType.php
index a31f8324f4fe03a1a642eec0fb8ea9ee76540c23..6511adf6d2d74f93db92671e6448508447acbe2f 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/BounceType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4e77659bd433033396e84b6de32c99af)
+ * (GenCodeChecksum:41a2f33a589d43ba388d36dcf8f9e54f)
  */
 
 /**
@@ -66,9 +66,12 @@ class CRM_Mailing_DAO_BounceType 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('Bounce Types');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Bounce Types') : ts('Bounce Type');
   }
 
   /**