*
* 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
*/
*/
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]
'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',
'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',
) ,
'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',
) ,
'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',
) ,
'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',
) ,
'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',
) ,
'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',
) ,
'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',
) ,
'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',
'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',
) ,
'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',
) ,
'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',
) ,