DAOs with singular/plural options for entity titles
[civicrm-core.git] / CRM / Mailing / DAO / Recipients.php
index 1852c7ac022a6aeb4fa60c2207c1dc4c8179e58d..7e6bb43ab156baa1be3e9dc954454e6f87f89af6 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Recipients.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ebd2ec177861f8f82a4bc6bc8b33fd9b)
+ * (GenCodeChecksum:3fb8b7a18899cd7dba958e9e08a944a7)
  */
 
 /**
@@ -73,9 +73,12 @@ class CRM_Mailing_DAO_Recipients 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('Recipientses');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Recipientses') : ts('Recipients');
   }
 
   /**