function uc_quote_shipping_method_options in Ubercart 6.2
Same name and namespace in other branches
- 5 shipping/uc_quote/uc_quote.module \uc_quote_shipping_method_options()
Returns an options array of shipping methods.
1 call to uc_quote_shipping_method_options()
- uc_quote_method_settings in shipping/
uc_quote/ uc_quote.admin.inc - Settings for the shipping quote methods.
File
- shipping/
uc_quote/ uc_quote.module, line 1265 - The controller module for fulfillment modules that process physical goods.
Code
function uc_quote_shipping_method_options() {
$methods = module_invoke_all('shipping_method');
uasort($methods, '_uc_quote_type_sort');
$types = array();
foreach ($methods as $method) {
if (isset($method['quote'])) {
$types[$method['id']] = $method['title'];
}
}
return $types;
}