DAOs with singular/plural options for entity titles
[civicrm-core.git] / CRM / Financial / DAO / PaymentProcessor.php
index 7f1e8334a9678b7b65ceac85d11ad821684a2f09..f882e0d0b174bb0c742be8894a3d7a97848af129 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/PaymentProcessor.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7e296728147d44cb68a9231c4995e461)
+ * (GenCodeChecksum:8277056355c9f16ae28f69ba3298730e)
  */
 
 /**
@@ -181,9 +181,12 @@ class CRM_Financial_DAO_PaymentProcessor 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('Payment Processors');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Payment Processors') : ts('Payment Processor');
   }
 
   /**