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