function _uc_usps_pkg_types in Ubercart 7.3
Same name and namespace in other branches
- 5 shipping/uc_usps/uc_usps.module \_uc_usps_pkg_types()
- 6.2 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 827 - United States Postal Service (USPS) shipping quote module.
Code
function _uc_usps_pkg_types() {
return array(
'VARIABLE' => t('Variable'),
'FLAT RATE ENVELOPE' => t('Flat rate envelope'),
'PADDED FLAT RATE ENVELOPE' => t('Padded flat rate envelope'),
'LEGAL FLAT RATE ENVELOPE' => t('Legal flat rate envelope'),
'SMALL FLAT RATE ENVELOPE' => t('Small flat rate envelope'),
'WINDOW FLAT RATE ENVELOPE' => t('Window flat rate envelope'),
'GIFT CARD FLAT RATE BOX' => t('Gift card flat rate box'),
'FLAT RATE BOX' => t('Flat rate box'),
'SM FLAT RATE BOX' => t('Small flat rate box'),
'MD FLAT RATE BOX' => t('Medium flat rate box'),
'LG FLAT RATE BOX' => t('Large flat rate box'),
'REGIONALRATEBOXA' => t('Regional rate box A'),
'REGIONALRATEBOXB' => t('Regional rate box B'),
'RECTANGULAR' => t('Rectangular'),
'NONRECTANGULAR' => t('Non-rectangular'),
);
}