Mage_Usa_Model_Shipping_Carrier_Ups_Source_OriginShipment Class Reference

List of all members.

Public Member Functions

 toOptionArray ()


Detailed Description

Usa Ups type action Dropdown source

Author:
Magento Core Team <core@magentocommerce.com>

Definition at line 33 of file OriginShipment.php.


Member Function Documentation

toOptionArray (  ) 

Definition at line 35 of file OriginShipment.php.

00036     {
00037         $orShipArr = Mage::getSingleton('usa/shipping_carrier_ups')->getCode('originShipment');
00038         $returnArr = array();
00039         foreach ($orShipArr as $key => $val){
00040             $returnArr[] = array('value'=>$key,'label'=>$key);
00041         }
00042         return $returnArr;
00043     }


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:24:55 2009 for Magento by  doxygen 1.5.8