Mage_GoogleBase_Model_Source_Country Class Reference

List of all members.

Public Member Functions

 toOptionArray ()


Detailed Description

Definition at line 34 of file Country.php.


Member Function Documentation

toOptionArray (  ) 

Definition at line 36 of file Country.php.

00037     {
00038         $_allowed = Mage::getSingleton('googlebase/config')->getAllowedCountries();
00039         $result = array();
00040         foreach ($_allowed as $iso => $info) {
00041             $result[] = array('value' => $iso, 'label' => $info['name']);
00042         }
00043         return $result;
00044     }


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

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