Mage_Tax_Model_System_Config_Source_Tax_Country Class Reference

Inheritance diagram for Mage_Tax_Model_System_Config_Source_Tax_Country:

Mage_Adminhtml_Model_System_Config_Source_Country

List of all members.

Public Member Functions

 toOptionArray ($noEmpty=false)

Protected Attributes

 $_options


Detailed Description

Definition at line 28 of file Country.php.


Member Function Documentation

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     }


Member Data Documentation

$_options [protected]

Reimplemented from Mage_Adminhtml_Model_System_Config_Source_Country.

Definition at line 30 of file Country.php.


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