public function getListForSelect($display = 'name') { foreach ($this->getList($display) as $key => $value) { $countries[$key] = $value[$display]; } //return the array return $countries; }