Mage_Adminhtml_Model_System_Config_Source_Currency_Service Class Reference

List of all members.

Public Member Functions

 toOptionArray ($isMultiselect)

Protected Attributes

 $_options


Detailed Description

Definition at line 28 of file Service.php.


Member Function Documentation

toOptionArray ( isMultiselect  ) 

Definition at line 32 of file Service.php.

00033     {
00034         if (!$this->_options) {
00035             $services = Mage::getConfig()->getNode('global/currency/import/services')->asArray();
00036             $this->_options = array();
00037             foreach( $services as $_code => $_options ) {
00038                 $this->_options[] = array(
00039                     'label' => $_options['name'],
00040                     'value' => $_code,
00041                 );
00042             }
00043         }
00044 
00045         $options = $this->_options;
00046         return $options;
00047     }


Member Data Documentation

$_options [protected]

Definition at line 30 of file Service.php.


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

Generated on Sat Jul 4 17:23:14 2009 for Magento by  doxygen 1.5.8