dev/drupal#148 Fix product form such that it is possible to unseletc duration unit...
[civicrm-core.git] / CRM / Contribute / DAO / ContributionRecur.php
index a3254572ca08522ad7db4093c632556a91cdd683..f61c447051453bfc5b03b7afe3669dc8eb1df2a1 100644 (file)
@@ -6,13 +6,15 @@
  *
  * Generated from xml/schema/CRM/Contribute/ContributionRecur.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:62019becf87dee13b7e9e174eb3c286e)
+ * (GenCodeChecksum:ba5f7682a5f99b682f70cd45097feb56)
  */
 
 /**
  * Database access object for the ContributionRecur entity.
  */
 class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
+  const EXT = 'civicrm';
+  const TABLE_ADDED = '1.6';
 
   /**
    * Static instance to hold the table name.
@@ -237,9 +239,12 @@ class CRM_Contribute_DAO_ContributionRecur 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('Recurring Contributions');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Recurring Contributions') : ts('Recurring Contribution');
   }
 
   /**