}
}
+ /**
+ * Getter for the payment processor.
+ *
+ * The payment processor array is based on the civicrm_payment_processor table entry.
+ *
+ * @return array
+ * Payment processor array.
+ */
+ public function getPaymentProcessor() {
+ return $this->_paymentProcessor;
+ }
+
+ /**
+ * Setter for the payment processor.
+ *
+ * @param array $processor
+ */
+ public function setPaymentProcessor($processor) {
+ $this->_paymentProcessor = $processor;
+ }
+
/**
* Setter for the payment form that wants to use the processor.
*
* function hook_civicrm_alterPaymentProcessorParams($paymentObj,
* &$rawParams, &$cookedParams);
*
+ * See discussion in CRM-16224 as to whether $paymentObj should be passed by reference.
+ *
* @param string $paymentObj
* instance of payment class of the payment processor invoked (e.g., 'CRM_Core_Payment_Dummy')
* @param array &$rawParams
* params after the processor code has translated them into its own key/value pairs
*
* @return mixed
+ * This return is not really intended to be used.
*/
public static function alterPaymentProcessorParams(
$paymentObj,