Mage_Usa_Model_Shipping_Carrier_Ups_Source_Unitofmeasure Class Reference

List of all members.

Public Member Functions

 toOptionArray ()


Detailed Description

Definition at line 28 of file Unitofmeasure.php.


Member Function Documentation

toOptionArray (  ) 

Definition at line 30 of file Unitofmeasure.php.

00031     {
00032         $unitArr = Mage::getSingleton('usa/shipping_carrier_ups')->getCode('unit_of_measure');
00033         $returnArr = array();
00034         foreach ($unitArr as $key => $val){
00035             $returnArr[] = array('value'=>$key,'label'=>$key);
00036         }
00037         return $returnArr;
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