function _checkout_pane_data in Ubercart 5
Same name and namespace in other branches
- 6.2 uc_cart/uc_cart_checkout_pane.inc \_checkout_pane_data()
Return 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.module 
- uc_cart_checkout_form_validate in uc_cart/uc_cart.module 
- uc_checkout_pane_billing in uc_cart/uc_cart_checkout_pane.inc 
- Get the billing information.
- uc_checkout_pane_delivery in uc_cart/uc_cart_checkout_pane.inc 
- Get the delivery information.
File
- uc_cart/uc_cart_checkout_pane.inc, line 531 
- This file contains the callbacks for the default checkout panes supplied with Ubercart 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];
    }
  }
}