Public Member Functions | |
toOptionArray () | |
Protected Attributes | |
$_options |
Definition at line 32 of file Type.php.
toOptionArray | ( | ) |
Definition at line 36 of file Type.php.
00037 { 00038 if (!$this->_options) { 00039 $this->_options = array(); 00040 $this->_options[] = array('value'=>Mage_Tax_Model_Config::DISPLAY_TYPE_EXCLUDING_TAX, 'label'=>Mage::helper('tax')->__('Excluding tax')); 00041 $this->_options[] = array('value'=>Mage_Tax_Model_Config::DISPLAY_TYPE_INCLUDING_TAX, 'label'=>Mage::helper('tax')->__('Including tax')); 00042 $this->_options[] = array('value'=>Mage_Tax_Model_Config::DISPLAY_TYPE_BOTH, 'label'=>Mage::helper('tax')->__('Including and excluding tax')); 00043 } 00044 return $this->_options; 00045 }