Public Member Functions | |
toOptionArray ($noEmpty=false) | |
Protected Attributes | |
$_options |
Definition at line 28 of file Country.php.
toOptionArray | ( | $ | noEmpty = false |
) |
Reimplemented from Mage_Adminhtml_Model_System_Config_Source_Country.
Definition at line 32 of file Country.php.
00033 { 00034 $options = parent::toOptionArray($noEmpty); 00035 00036 if(!$noEmpty) { 00037 if ($options) { 00038 $options[0]['label'] = Mage::helper('tax')->__('None'); 00039 } else { 00040 $options = array(array('value'=>'', 'label'=>$this->helper('tax')->__('None'))); 00041 } 00042 } 00043 00044 return $options; 00045 }
$_options [protected] |
Reimplemented from Mage_Adminhtml_Model_System_Config_Source_Country.
Definition at line 30 of file Country.php.