(NFC) Set _log and _table_name variables to be public
[civicrm-core.git] / CRM / Financial / DAO / FinancialItem.php
index 30284d4d2229230311b8b5e723f75e4d2394955d..d25859144de4a3f319c6b49eb887eeda501c6a84 100644 (file)
@@ -19,14 +19,14 @@ class CRM_Financial_DAO_FinancialItem extends CRM_Core_DAO {
    *
    * @var string
    */
-  static $_tableName = 'civicrm_financial_item';
+  public static $_tableName = 'civicrm_financial_item';
 
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
    * @var bool
    */
-  static $_log = TRUE;
+  public static $_log = TRUE;
 
   /**
    * @var int unsigned
@@ -119,7 +119,7 @@ class CRM_Financial_DAO_FinancialItem 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(), 'contact_id', 'civicrm_contact', 'id');
       Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_account_id', 'civicrm_financial_account', 'id');
       Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table');