function uc_order_uc_order_get_properties in Ubercart 7.3
Entity metadata callback for getting order properties.
See also
uc_order_entity_property_info()
1 string reference to 'uc_order_uc_order_get_properties'
- uc_order_entity_property_info in uc_order/
uc_order.info.inc - Implements hook_entity_property_info().
File
- uc_order/
uc_order.module, line 2213
Code
function uc_order_uc_order_get_properties($order, array $options, $name, $entity_type) {
switch ($name) {
case 'customer':
return $order->uid;
}
}