Public Member Functions | |
getAllOptions () | |
toOptionArray () |
Definition at line 28 of file Customer.php.
getAllOptions | ( | ) |
Retrieve All options
Implements Mage_Eav_Model_Entity_Attribute_Source_Interface.
Definition at line 30 of file Customer.php.
00031 { 00032 if (!$this->_options) { 00033 $this->_options = Mage::getResourceModel('tax/class_collection') 00034 ->addFieldToFilter('class_type', 'CUSTOMER') 00035 ->load()->toOptionArray(); 00036 } 00037 return $this->_options; 00038 }
toOptionArray | ( | ) |