예제 #1
0
 /**
  * Returns an array containing, for each field, the arary key used for that
  * field in self::$_fields.
  *
  * @return array
  */
 static function &fieldKeys()
 {
     if (!self::$_fieldKeys) {
         self::$_fieldKeys = array('id' => 'pledge_payment_id', 'pledge_id' => 'pledge_id', 'contribution_id' => 'contribution_id', 'scheduled_amount' => 'pledge_payment_scheduled_amount', 'actual_amount' => 'pledge_payment_actual_amount', 'currency' => 'currency', 'scheduled_date' => 'pledge_payment_scheduled_date', 'reminder_date' => 'pledge_payment_reminder_date', 'reminder_count' => 'pledge_payment_reminder_count', 'status_id' => 'pledge_payment_status_id');
     }
     return self::$_fieldKeys;
 }