(NFC) Set _log and _table_name variables to be public
[civicrm-core.git] / CRM / Pledge / DAO / PledgePayment.php
index 6d02573a18ea5fca624cfd8cc654df0631bf35ac..d43a0f779135a5dfdfa3efa206db40b81ad44b1b 100644 (file)
@@ -2,11 +2,11 @@
 
 /**
  * @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
- * (GenCodeChecksum:42d1945b887c431b77bd52ed461acd81)
+ * (GenCodeChecksum:79875dd118415179172c3ac425758b29)
  */
 
 /**
@@ -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']);
@@ -240,6 +240,10 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO {
           'entity' => 'PledgePayment',
           'bao' => 'CRM_Pledge_BAO_PledgePayment',
           'localizable' => 0,
+          'html' => [
+            'type' => 'Select Date',
+            'formatType' => 'activityDate',
+          ],
         ],
         'pledge_payment_reminder_date' => [
           'name' => 'reminder_date',