(NFC) Set _log and _table_name variables to be public
[civicrm-core.git] / CRM / Price / DAO / PriceSet.php
index 1c3136568c52bffc1f79dab7a8dd84f0dc0d824d..ed8c4d685b866a874250d51feb17c12287583334 100644 (file)
@@ -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']);