DAOs with singular/plural options for entity titles
[civicrm-core.git] / CRM / Mailing / Event / DAO / TrackableURLOpen.php
index 88c84b0b920119c676e43600ec6530b58b9a6cbe..85f4b96810e10da76ffdb9f53259f1ffd67f252b 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/TrackableURLOpen.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b543a83312f2069a45872939517aa480)
+ * (GenCodeChecksum:6e1eb0a358ed16c691ea25a741ce6f8c)
  */
 
 /**
@@ -66,9 +66,12 @@ class CRM_Mailing_Event_DAO_TrackableURLOpen 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('Trackable URLOpens');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Trackable URLOpens') : ts('Trackable URLOpen');
   }
 
   /**