(NFC) Set _log and _table_name variables to be public
[civicrm-core.git] / CRM / Pledge / DAO / PledgePayment.php
index 6b6b2ecff5daf849d23f434d408a55a538d231bf..d43a0f779135a5dfdfa3efa206db40b81ad44b1b 100644 (file)
@@ -2,7 +2,7 @@
 
 /**
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2018
+ * @copyright CiviCRM LLC (c) 2004-2019
  *
  * Generated from xml/schema/CRM/Pledge/PledgePayment.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
@@ -19,14 +19,14 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO {
    *
    * @var string
    */
-  static $_tableName = 'civicrm_pledge_payment';
+  public static $_tableName = 'civicrm_pledge_payment';
 
   /**
    * 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
@@ -110,7 +110,7 @@ class CRM_Pledge_DAO_PledgePayment 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(), 'pledge_id', 'civicrm_pledge', 'id');
       Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contribution_id', 'civicrm_contribution', 'id');
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);