Public Member Functions | |
toOptionArray ($isMultiselect) | |
Protected Attributes | |
$_options |
Definition at line 28 of file Service.php.
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 }
$_options [protected] |
Definition at line 30 of file Service.php.