DAOs with singular/plural options for entity titles
[civicrm-core.git] / CRM / Mailing / Event / DAO / Reply.php
index 8fc31b3eb359e704d28f7b9a81d3ee077d5733e8..3c3cb9cff7820fb24720a786a859fc0aa3e95b61 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Reply.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b1d572f3d42f6480dc98a2e6f9710fa3)
+ * (GenCodeChecksum:e4f80247fbee550b68997bd9f264dc66)
  */
 
 /**
@@ -59,9 +59,12 @@ class CRM_Mailing_Event_DAO_Reply 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('Replies');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Replies') : ts('Reply');
   }
 
   /**