Regenerate DAO files to have 'where' fields defined
[civicrm-core.git] / CRM / Price / DAO / PriceSet.php
index ed8c4d685b866a874250d51feb17c12287583334..ae2e04ef8ea421b5b210664887a91d97ffda46e2 100644 (file)
@@ -157,6 +157,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'title' => ts('Price Set ID'),
           'description' => ts('Price Set'),
           'required' => TRUE,
+          'where' => 'civicrm_price_set.id',
           'table_name' => 'civicrm_price_set',
           'entity' => 'PriceSet',
           'bao' => 'CRM_Price_BAO_PriceSet',
@@ -167,6 +168,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Price Set Domain'),
           'description' => ts('Which Domain is this price-set for'),
+          'where' => 'civicrm_price_set.domain_id',
           'table_name' => 'civicrm_price_set',
           'entity' => 'PriceSet',
           'bao' => 'CRM_Price_BAO_PriceSet',
@@ -189,6 +191,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'required' => TRUE,
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
+          'where' => 'civicrm_price_set.name',
           'table_name' => 'civicrm_price_set',
           'entity' => 'PriceSet',
           'bao' => 'CRM_Price_BAO_PriceSet',
@@ -205,6 +208,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'required' => TRUE,
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
+          'where' => 'civicrm_price_set.title',
           'table_name' => 'civicrm_price_set',
           'entity' => 'PriceSet',
           'bao' => 'CRM_Price_BAO_PriceSet',
@@ -218,6 +222,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Price Set Is Active?'),
           'description' => ts('Is this price set active'),
+          'where' => 'civicrm_price_set.is_active',
           'default' => '1',
           'table_name' => 'civicrm_price_set',
           'entity' => 'PriceSet',
@@ -234,6 +239,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'description' => ts('Description and/or help text to display before fields in form.'),
           'rows' => 4,
           'cols' => 80,
+          'where' => 'civicrm_price_set.help_pre',
           'table_name' => 'civicrm_price_set',
           'entity' => 'PriceSet',
           'bao' => 'CRM_Price_BAO_PriceSet',
@@ -249,6 +255,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'description' => ts('Description and/or help text to display after fields in form.'),
           'rows' => 4,
           'cols' => 80,
+          'where' => 'civicrm_price_set.help_post',
           'table_name' => 'civicrm_price_set',
           'entity' => 'PriceSet',
           'bao' => 'CRM_Price_BAO_PriceSet',
@@ -264,6 +271,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'description' => ts('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,
+          'where' => 'civicrm_price_set.javascript',
           'table_name' => 'civicrm_price_set',
           'entity' => 'PriceSet',
           'bao' => 'CRM_Price_BAO_PriceSet',
@@ -280,6 +288,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'required' => TRUE,
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
+          'where' => 'civicrm_price_set.extends',
           'table_name' => 'civicrm_price_set',
           'entity' => 'PriceSet',
           'bao' => 'CRM_Price_BAO_PriceSet',
@@ -298,6 +307,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Financial Type'),
           'description' => ts('FK to Financial Type(for membership price sets only).'),
+          'where' => 'civicrm_price_set.financial_type_id',
           'default' => 'NULL',
           'table_name' => 'civicrm_price_set',
           'entity' => 'PriceSet',
@@ -318,6 +328,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Is Price Set Quick Config?'),
           'description' => ts('Is set if edited on Contribution or Event Page rather than through Manage Price Sets'),
+          'where' => 'civicrm_price_set.is_quick_config',
           'default' => '0',
           'table_name' => 'civicrm_price_set',
           'entity' => 'PriceSet',
@@ -332,6 +343,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Price Set Is Reserved'),
           'description' => ts('Is this a predefined system price set  (i.e. it can not be deleted, edited)?'),
+          'where' => 'civicrm_price_set.is_reserved',
           'default' => '0',
           'table_name' => 'civicrm_price_set',
           'entity' => 'PriceSet',
@@ -346,6 +358,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Minimum Amount'),
           'description' => ts('Minimum Amount required for this set.'),
+          'where' => 'civicrm_price_set.min_amount',
           'default' => '0',
           'table_name' => 'civicrm_price_set',
           'entity' => 'PriceSet',