public function ajaxGetUcsAction() { $this->_helper->layout->disableLayout(); if (isset($this->_request->district_id) && !empty($this->_request->district_id)) { $locations = new Model_Locations(); $locations->form_values['district_id'] = $this->_request->district_id; $array = $locations->getUcsByDistrict(); $this->view->result = $array; } }