Public Member Functions | |
toOptionArray () |
Definition at line 28 of file Pickup.php.
toOptionArray | ( | ) |
Definition at line 30 of file Pickup.php.
00031 { 00032 $ups = Mage::getSingleton('usa/shipping_carrier_ups'); 00033 $arr = array(); 00034 foreach ($ups->getCode('pickup') as $k=>$v) { 00035 $arr[] = array('value'=>$k, 'label'=>Mage::helper('usa')->__($v['label'])); 00036 } 00037 return $arr; 00038 }