*/ class Mage_Customer_Model_Resource_Address_Attribute_Source_Region extends Mage_Eav_Model_Entity_Attribute_Source_Table { /** * Retreive all region options * * @return array */ public function getAllOptions() { if (!$this->_options) { $this->_options = Mage::getResourceModel('directory/region_collection')->load()->toOptionArray(); } return $this->_options; } }