function _uc_payment_method_data in Ubercart 7.3
Returns data from a payment method by method ID and the array key.
11 calls to _uc_payment_method_data()
- template_preprocess_uc_packing_slip in shipping/
uc_shipping/ uc_shipping.module - Preprocess function to make tokens available in the packing slip template.
- uc_checkout_pane_payment in payment/
uc_payment/ uc_payment_checkout_pane.inc - @file Checkout pane functions for uc_payment.module.
- uc_order_handler_field_payment_method::render in uc_order/
views/ uc_order_handler_field_payment_method.inc - Overrides views_handler_field::render().
- uc_order_pane_payment in payment/
uc_payment/ uc_payment_order_pane.inc - Handles the Payment order pane.
- uc_payment_enter in payment/
uc_payment/ uc_payment.module - Enters a payment for an order.
File
- payment/
uc_payment/ uc_payment.module, line 625
Code
function _uc_payment_method_data($method_id, $key) {
$methods = _uc_payment_method_list();
return isset($methods[$method_id][$key]) ? $methods[$method_id][$key] : NULL;
}