Public Member Functions | |
getAllOptions () |
Definition at line 34 of file Mode.php.
getAllOptions | ( | ) |
Retrieve All options
Implements Mage_Eav_Model_Entity_Attribute_Source_Interface.
Definition at line 36 of file Mode.php.
00037 { 00038 if (!$this->_options) { 00039 $this->_options = array( 00040 array( 00041 'value' => Mage_Catalog_Model_Category::DM_PRODUCT, 00042 'label' => Mage::helper('catalog')->__('Products only'), 00043 ), 00044 array( 00045 'value' => Mage_Catalog_Model_Category::DM_PAGE, 00046 'label' => Mage::helper('catalog')->__('Static block only'), 00047 ), 00048 array( 00049 'value' => Mage_Catalog_Model_Category::DM_MIXED, 00050 'label' => Mage::helper('catalog')->__('Static block and products'), 00051 ) 00052 ); 00053 } 00054 return $this->_options; 00055 }