DAOs with singular/plural options for entity titles
[civicrm-core.git] / CRM / Mailing / Event / DAO / Bounce.php
index 1cd4024fb4d6cad1d6d96f0cac121e030ef19b62..7252307252f73a254a35b1dff72e4f8481808407 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Bounce.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8e0590dde97f57494203397255fd4604)
+ * (GenCodeChecksum:dc1c97304810848da9a9c4255456799f)
  */
 
 /**
@@ -73,9 +73,12 @@ class CRM_Mailing_Event_DAO_Bounce 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('Bounces');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Bounces') : ts('Bounce');
   }
 
   /**