public function getContinent($option = null) { $obj = new Application_Model_Continent(); $entries = $obj->fetchAll(null, 'name asc'); $arrContinent = array(); if (!is_null($option)) { $arrContinent[''] = $option; } foreach ($entries as $entry) { $arrContinent[$entry->getId()] = $entry->getName(); } return $arrContinent; }