Mage_Tax_Model_System_Config_Source_Tax_Display_Type Class Reference

List of all members.

Public Member Functions

 toOptionArray ()

Protected Attributes

 $_options


Detailed Description

Price display type source model

Author:
Magento Core Team <core@magentocommerce.com>

Definition at line 32 of file Type.php.


Member Function Documentation

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     }


Member Data Documentation

$_options [protected]

Definition at line 34 of file Type.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