Public Member Functions | |
toOptionArray () |
Definition at line 28 of file Method.php.
toOptionArray | ( | ) |
Reimplemented in Mage_Usa_Model_Shipping_Carrier_Usps_Source_Freemethod.
Definition at line 30 of file Method.php.
00031 { 00032 $usps = Mage::getSingleton('usa/shipping_carrier_usps'); 00033 $arr = array(); 00034 foreach ($usps->getCode('method') as $v) { 00035 $arr[] = array('value'=>$v, 'label'=>$v); 00036 } 00037 return $arr; 00038 }