function _order_pane_data in Ubercart 5
Same name and namespace in other branches
- 6.2 uc_order/uc_order.order_pane.inc \_order_pane_data()
Return data from an order pane by pane ID and the array key.
File
- uc_order/
uc_order_order_pane.inc, line 849 - 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];
}
}
}