Public Member Functions | |
getAllOptions () |
Definition at line 35 of file Config.php.
getAllOptions | ( | ) |
Retrieve all attribute options
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 }