Mage_GiftMessage_Model_Entity_Attribute_Source_Boolean_Config Class Reference

Inheritance diagram for Mage_GiftMessage_Model_Entity_Attribute_Source_Boolean_Config:

Mage_Eav_Model_Entity_Attribute_Source_Boolean 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 35 of file Config.php.


Member Function Documentation

getAllOptions (  ) 

Retrieve all attribute options

Returns:
array

Reimplemented from Mage_Eav_Model_Entity_Attribute_Source_Boolean.

Definition at line 43 of file Config.php.

00044     {
00045         if (!$this->_options) {
00046             $this->_options = array(
00047                 array(
00048                     'label' => Mage::helper('giftmessage')->__('Yes'),
00049                     'value' =>  1
00050                 ),
00051                 array(
00052                     'label' => Mage::helper('giftmessage')->__('No'),
00053                     'value' =>  0
00054                 ),
00055                 array(
00056                     'label' => Mage::helper('giftmessage')->__('Use config'),
00057                     'value' =>  2
00058                 )
00059             );
00060         }
00061         return $this->_options;
00062     }


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

Generated on Sat Jul 4 17:24:13 2009 for Magento by  doxygen 1.5.8