Mage_Usa_Model_Shipping_Carrier_Ups_Source_Method Class Reference

Inheritance diagram for Mage_Usa_Model_Shipping_Carrier_Ups_Source_Method:

Mage_Usa_Model_Shipping_Carrier_Ups_Source_Freemethod

List of all members.

Public Member Functions

 toOptionArray ()


Detailed Description

Definition at line 28 of file Method.php.


Member Function Documentation

toOptionArray (  ) 

Reimplemented in Mage_Usa_Model_Shipping_Carrier_Ups_Source_Freemethod.

Definition at line 30 of file Method.php.

00031     {
00032         $ups = Mage::getSingleton('usa/shipping_carrier_ups');
00033         $arr = array();
00034         foreach ($ups->getCode('method') as $k=>$v) {
00035             $arr[] = array('value'=>$k, 'label'=>Mage::helper('usa')->__($v));
00036         }
00037         return $arr;
00038     }


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