function _checkout_pane_data in Ubercart 6.2
Same name and namespace in other branches
- 5 uc_cart/uc_cart_checkout_pane.inc \_checkout_pane_data()
Returns data from a checkout pane by pane ID and the array key.
4 calls to _checkout_pane_data()
- theme_uc_cart_checkout_form in uc_cart/
uc_cart.pages.inc - Adds markup and styling to the checkout panes.
- uc_cart_checkout_form_validate in uc_cart/
uc_cart.pages.inc - Form validation for uc_cart_checkout_form().
- uc_checkout_pane_billing in uc_cart/
uc_cart_checkout_pane.inc - Gets the billing information.
- uc_checkout_pane_delivery in uc_cart/
uc_cart_checkout_pane.inc - Gets the delivery information.
File
- uc_cart/
uc_cart_checkout_pane.inc, line 566 - Callbacks for the default Ubercart checkout panes and their corresponding helper functions.
Code
function _checkout_pane_data($pane_id, $key) {
$panes = _checkout_pane_list();
foreach ($panes as $pane) {
if ($pane['id'] == $pane_id) {
return $pane[$key];
}
}
}