Mage_Catalog_Model_Category_Attribute_Source_Mode Class Reference

Inheritance diagram for Mage_Catalog_Model_Category_Attribute_Source_Mode:

Mage_Eav_Model_Entity_Attribute_Source_Abstract Mage_Eav_Model_Entity_Attribute_Source_Interface

List of all members.

Public Member Functions

 getAllOptions ()


Detailed Description

Definition at line 34 of file Mode.php.


Member Function Documentation

getAllOptions (  ) 

Retrieve All options

Returns:
array

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     }


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:23:38 2009 for Magento by  doxygen 1.5.8