(NFC) Set _log and _table_name variables to be public
[civicrm-core.git] / CRM / Price / DAO / PriceSet.php
index cd26b23f7773ee5ed6a3438129ba0140228317aa..ed8c4d685b866a874250d51feb17c12287583334 100644 (file)
@@ -2,11 +2,11 @@
 
 /**
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2018
+ * @copyright CiviCRM LLC (c) 2004-2019
  *
  * Generated from xml/schema/CRM/Price/PriceSet.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7250a5af1e713fc047875f2cc22443ff)
+ * (GenCodeChecksum:a66d639b335e9df4c3133ade2aa16a9b)
  */
 
 /**
@@ -19,14 +19,14 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
    *
    * @var string
    */
-  static $_tableName = 'civicrm_price_set';
+  public static $_tableName = 'civicrm_price_set';
 
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
    * @var bool
    */
-  static $_log = TRUE;
+  public static $_log = TRUE;
 
   /**
    * Price Set
@@ -135,7 +135,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
    */
   public static function getReferenceColumns() {
     if (!isset(Civi::$statics[__CLASS__]['links'])) {
-      Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__);
+      Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
       Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id');
       Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_type_id', 'civicrm_financial_type', 'id');
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
@@ -155,7 +155,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'name' => 'id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Price Set ID'),
-          'description' => 'Price Set',
+          'description' => ts('Price Set'),
           'required' => TRUE,
           'table_name' => 'civicrm_price_set',
           'entity' => 'PriceSet',
@@ -166,7 +166,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'name' => 'domain_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Price Set Domain'),
-          'description' => 'Which Domain is this price-set for',
+          'description' => ts('Which Domain is this price-set for'),
           'table_name' => 'civicrm_price_set',
           'entity' => 'PriceSet',
           'bao' => 'CRM_Price_BAO_PriceSet',
@@ -185,7 +185,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'name' => 'name',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Name'),
-          'description' => 'Variable name/programmatic handle for this set of price fields.',
+          'description' => ts('Variable name/programmatic handle for this set of price fields.'),
           'required' => TRUE,
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
@@ -201,7 +201,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'name' => 'title',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Price Set Title'),
-          'description' => 'Displayed title for the Price Set.',
+          'description' => ts('Displayed title for the Price Set.'),
           'required' => TRUE,
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
@@ -217,7 +217,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'name' => 'is_active',
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Price Set Is Active?'),
-          'description' => 'Is this price set active',
+          'description' => ts('Is this price set active'),
           'default' => '1',
           'table_name' => 'civicrm_price_set',
           'entity' => 'PriceSet',
@@ -231,7 +231,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'name' => 'help_pre',
           'type' => CRM_Utils_Type::T_TEXT,
           'title' => ts('Price Set Pre Help'),
-          'description' => 'Description and/or help text to display before fields in form.',
+          'description' => ts('Description and/or help text to display before fields in form.'),
           'rows' => 4,
           'cols' => 80,
           'table_name' => 'civicrm_price_set',
@@ -246,7 +246,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'name' => 'help_post',
           'type' => CRM_Utils_Type::T_TEXT,
           'title' => ts('Price Set Post Help'),
-          'description' => 'Description and/or help text to display after fields in form.',
+          'description' => ts('Description and/or help text to display after fields in form.'),
           'rows' => 4,
           'cols' => 80,
           'table_name' => 'civicrm_price_set',
@@ -261,7 +261,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'name' => 'javascript',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Price Set Javascript'),
-          'description' => 'Optional Javascript script function(s) included on the form with this price_set. Can be used for conditional',
+          '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,
           'table_name' => 'civicrm_price_set',
@@ -276,7 +276,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'name' => 'extends',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Price Set Extends'),
-          'description' => 'What components are using this price set?',
+          'description' => ts('What components are using this price set?'),
           'required' => TRUE,
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
@@ -297,7 +297,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'name' => 'financial_type_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Financial Type'),
-          'description' => 'FK to Financial Type(for membership price sets only).',
+          'description' => ts('FK to Financial Type(for membership price sets only).'),
           'default' => 'NULL',
           'table_name' => 'civicrm_price_set',
           'entity' => 'PriceSet',
@@ -317,7 +317,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'name' => 'is_quick_config',
           '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',
+          'description' => ts('Is set if edited on Contribution or Event Page rather than through Manage Price Sets'),
           'default' => '0',
           'table_name' => 'civicrm_price_set',
           'entity' => 'PriceSet',
@@ -331,7 +331,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'name' => 'is_reserved',
           '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)?',
+          'description' => ts('Is this a predefined system price set  (i.e. it can not be deleted, edited)?'),
           'default' => '0',
           'table_name' => 'civicrm_price_set',
           'entity' => 'PriceSet',
@@ -345,7 +345,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'name' => 'min_amount',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Minimum Amount'),
-          'description' => 'Minimum Amount required for this set.',
+          'description' => ts('Minimum Amount required for this set.'),
           'default' => '0',
           'table_name' => 'civicrm_price_set',
           'entity' => 'PriceSet',