Public Member Functions | |
toOptionArray () |
Definition at line 28 of file Carrier.php.
toOptionArray | ( | ) |
Definition at line 30 of file Carrier.php.
00031 { 00032 $hlp = Mage::helper('googlecheckout'); 00033 return array( 00034 array('label'=>$hlp->__('FedEx'), 'value'=>array( 00035 array('label'=>$hlp->__('Ground'), 'value'=>'FedEx/Ground'), 00036 array('label'=>$hlp->__('Home Delivery'), 'value'=>'FedEx/Home Delivery'), 00037 array('label'=>$hlp->__('Express Saver'), 'value'=>'FedEx/Express Saver'), 00038 array('label'=>$hlp->__('First Overnight'), 'value'=>'FedEx/First Overnight'), 00039 array('label'=>$hlp->__('Priority Overnight'), 'value'=>'FedEx/Priority Overnight'), 00040 array('label'=>$hlp->__('Standard Overnight'), 'value'=>'FedEx/Standard Overnight'), 00041 array('label'=>$hlp->__('2Day'), 'value'=>'FedEx/2Day'), 00042 )), 00043 array('label'=>$hlp->__('UPS'), 'value'=>array( 00044 array('label'=>$hlp->__('Next Day Air'), 'value'=>'UPS/Next Day Air'), 00045 array('label'=>$hlp->__('Next Day Air Early AM'), 'value'=>'UPS/Next Day Air Early AM'), 00046 array('label'=>$hlp->__('Next Day Air Saver'), 'value'=>'UPS/Next Day Air Saver'), 00047 array('label'=>$hlp->__('2nd Day Air'), 'value'=>'UPS/2nd Day Air'), 00048 array('label'=>$hlp->__('2nd Day Air AM'), 'value'=>'UPS/2nd Day Air AM'), 00049 array('label'=>$hlp->__('3 Day Select'), 'value'=>'UPS/3 Day Select'), 00050 array('label'=>$hlp->__('Ground'), 'value'=>'UPS/Ground'), 00051 )), 00052 array('label'=>$hlp->__('USPS'), 'value'=>array( 00053 array('label'=>$hlp->__('Express Mail'), 'value'=>'USPS/Express Mail'), 00054 array('label'=>$hlp->__('Priority Mail'), 'value'=>'USPS/Priority Mail'), 00055 array('label'=>$hlp->__('Parcel Post'), 'value'=>'USPS/Parcel Post'), 00056 array('label'=>$hlp->__('Media Mail'), 'value'=>'USPS/Media Mail'), 00057 )), 00058 ); 00059 }