CRM-20312 regenerated DAO with localisation
[civicrm-core.git] / CRM / Price / DAO / PriceSet.php
index 3fdcdb460cd2a1d727cc68a1f20abef4be01f77b..66d3117164ad1ee478ee736b8d94224925036391 100644 (file)
  *
  * Generated from xml/schema/CRM/Price/PriceSet.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1642f2b38411573c40848c0d7c83c74c)
+ * (GenCodeChecksum:0b3a382a33511312a5f3b909f214345d)
  */
 require_once 'CRM/Core/DAO.php';
 require_once 'CRM/Utils/Type.php';
+/**
+ * CRM_Price_DAO_PriceSet constructor.
+ */
 class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
   /**
-   * static instance to hold the table name
+   * Static instance to hold the table name.
    *
    * @var string
    */
   static $_tableName = 'civicrm_price_set';
   /**
-   * static value to see if we should log any modifications to
-   * this table in the civicrm_log table
+   * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
    * @var boolean
    */
@@ -127,16 +129,14 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
    */
   public $min_amount;
   /**
-   * class constructor
-   *
-   * @return civicrm_price_set
+   * Class constructor.
    */
   function __construct() {
     $this->__table = 'civicrm_price_set';
     parent::__construct();
   }
   /**
-   * Returns foreign keys and entity references
+   * Returns foreign keys and entity references.
    *
    * @return array
    *   [CRM_Core_Reference_Interface]
@@ -164,12 +164,20 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'title' => ts('Price Set ID') ,
           'description' => 'Price Set',
           'required' => true,
+          'table_name' => 'civicrm_price_set',
+          'entity' => 'PriceSet',
+          'bao' => 'CRM_Price_BAO_PriceSet',
+          'localizable' => 0,
         ) ,
         'domain_id' => array(
           'name' => 'domain_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Price Set Domain') ,
           'description' => 'Which Domain is this price-set for',
+          'table_name' => 'civicrm_price_set',
+          'entity' => 'PriceSet',
+          'bao' => 'CRM_Price_BAO_PriceSet',
+          'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_Domain',
           'html' => array(
             'type' => 'Text',
@@ -188,6 +196,10 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'required' => true,
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
+          'table_name' => 'civicrm_price_set',
+          'entity' => 'PriceSet',
+          'bao' => 'CRM_Price_BAO_PriceSet',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -200,6 +212,10 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'required' => true,
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
+          'table_name' => 'civicrm_price_set',
+          'entity' => 'PriceSet',
+          'bao' => 'CRM_Price_BAO_PriceSet',
+          'localizable' => 1,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -210,6 +226,10 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'title' => ts('Price Set Is Active?') ,
           'description' => 'Is this price set active',
           'default' => '1',
+          'table_name' => 'civicrm_price_set',
+          'entity' => 'PriceSet',
+          'bao' => 'CRM_Price_BAO_PriceSet',
+          'localizable' => 0,
           'html' => array(
             'type' => 'CheckBox',
           ) ,
@@ -221,6 +241,10 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'description' => 'Description and/or help text to display before fields in form.',
           'rows' => 4,
           'cols' => 80,
+          'table_name' => 'civicrm_price_set',
+          'entity' => 'PriceSet',
+          'bao' => 'CRM_Price_BAO_PriceSet',
+          'localizable' => 1,
           'html' => array(
             'type' => 'TextArea',
           ) ,
@@ -232,6 +256,10 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'description' => 'Description and/or help text to display after fields in form.',
           'rows' => 4,
           'cols' => 80,
+          'table_name' => 'civicrm_price_set',
+          'entity' => 'PriceSet',
+          'bao' => 'CRM_Price_BAO_PriceSet',
+          'localizable' => 1,
           'html' => array(
             'type' => 'TextArea',
           ) ,
@@ -243,6 +271,10 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'description' => 'Optional Javascript script function(s) included on the form with this price_set. Can be used for conditional',
           'maxlength' => 64,
           'size' => CRM_Utils_Type::BIG,
+          'table_name' => 'civicrm_price_set',
+          'entity' => 'PriceSet',
+          'bao' => 'CRM_Price_BAO_PriceSet',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -255,6 +287,10 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'required' => true,
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
+          'table_name' => 'civicrm_price_set',
+          'entity' => 'PriceSet',
+          'bao' => 'CRM_Price_BAO_PriceSet',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -270,6 +306,10 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'title' => ts('Financial Type') ,
           'description' => 'FK to Financial Type(for membership price sets only).',
           'default' => 'NULL',
+          'table_name' => 'civicrm_price_set',
+          'entity' => 'PriceSet',
+          'bao' => 'CRM_Price_BAO_PriceSet',
+          'localizable' => 0,
           'FKClassName' => 'CRM_Financial_DAO_FinancialType',
           'html' => array(
             'type' => 'Select',
@@ -285,6 +325,10 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Is Price Set Quick Config?') ,
           'description' => 'Is set if edited on Contribution or Event Page rather than through Manage Price Sets',
+          'table_name' => 'civicrm_price_set',
+          'entity' => 'PriceSet',
+          'bao' => 'CRM_Price_BAO_PriceSet',
+          'localizable' => 0,
           'html' => array(
             'type' => 'CheckBox',
           ) ,
@@ -294,6 +338,10 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Price Set Is Reserved') ,
           'description' => 'Is this a predefined system price set  (i.e. it can not be deleted, edited)?',
+          'table_name' => 'civicrm_price_set',
+          'entity' => 'PriceSet',
+          'bao' => 'CRM_Price_BAO_PriceSet',
+          'localizable' => 0,
           'html' => array(
             'type' => 'CheckBox',
           ) ,
@@ -303,6 +351,10 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Minimum Amount') ,
           'description' => 'Minimum Amount required for this set.',
+          'table_name' => 'civicrm_price_set',
+          'entity' => 'PriceSet',
+          'bao' => 'CRM_Price_BAO_PriceSet',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,