function _order_pane_data in Ubercart 6.2
Same name and namespace in other branches
- 5 uc_order/uc_order_order_pane.inc \_order_pane_data()
Returns data from an order pane by pane ID and the array key.
File
- uc_order/
uc_order.order_pane.inc, line 1101 - This file contains the callbacks for the default order panes supplied with Ubercart and their corresponding helper functions.
Code
function _order_pane_data($pane_id, $key) {
$panes = _order_pane_list();
foreach ($panes as $pane) {
if ($pane['id'] == $pane_id) {
return $pane[$key];
}
}
}