(NFC) Set _log and _table_name variables to be public
[civicrm-core.git] / CRM / Pledge / DAO / PledgePayment.php
index bffa34aba1049f86ad37fb4a698a7126c5beff7a..d43a0f779135a5dfdfa3efa206db40b81ad44b1b 100644 (file)
@@ -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']);