(NFC) Set _log and _table_name variables to be public
[civicrm-core.git] / CRM / Core / DAO / OptionValue.php
index 51972ced209005393e2102bd97eafa66459d5b2b..e896d993552e9725478bb8262e3cfacc868fd4d8 100644 (file)
@@ -19,14 +19,14 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO {
    *
    * @var string
    */
-  static $_tableName = 'civicrm_option_value';
+  public static $_tableName = 'civicrm_option_value';
 
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
    * @var bool
    */
-  static $_log = TRUE;
+  public static $_log = TRUE;
 
   /**
    * Option ID
@@ -168,7 +168,7 @@ class CRM_Core_DAO_OptionValue 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(), 'option_group_id', 'civicrm_option_group', 'id');
       Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'component_id', 'civicrm_component', 'id');
       Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id');