function _uc_usps_pkg_types in Ubercart 6.2
Same name and namespace in other branches
- 5 shipping/uc_usps/uc_usps.module \_uc_usps_pkg_types()
- 7.3 shipping/uc_usps/uc_usps.module \_uc_usps_pkg_types()
Convenience function for select form elements.
1 call to _uc_usps_pkg_types()
- uc_usps_form_alter in shipping/
uc_usps/ uc_usps.module - Implements hook_form_alter().
File
- shipping/
uc_usps/ uc_usps.module, line 823 - Shipping quote method module that receives quotes from the United States Postal Service via XML web service.
Code
function _uc_usps_pkg_types() {
return array(
'VARIABLE' => t('Variable'),
'FLAT RATE BOX' => t('Flat rate box'),
'LG FLAT RATE BOX' => t('Large flat rate box'),
'FLAT RATE ENVELOPE' => t('Flat rate envelope'),
'RECTANGULAR' => t('Rectangular'),
'NONRECTANGULAR' => t('Non-rectangular'),
);
}