(NFC) Set _log and _table_name variables to be public
[civicrm-core.git] / CRM / Case / DAO / Case.php
index cbc8b16fb4f0870ecdf041ac150cbd93863722c5..2405fa06e4b307ea94ddc09f1d9d4f03db1d23c1 100644 (file)
@@ -19,14 +19,14 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO {
    *
    * @var string
    */
-  static $_tableName = 'civicrm_case';
+  public static $_tableName = 'civicrm_case';
 
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
    * @var bool
    */
-  static $_log = TRUE;
+  public static $_log = TRUE;
 
   /**
    * Unique Case ID
@@ -112,7 +112,7 @@ class CRM_Case_DAO_Case 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(), 'case_type_id', 'civicrm_case_type', 'id');
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
     }