public function checkLocationAction() { $this->_helper->layout->disableLayout(); //$this->_helper->viewRenderer->setNoRender(TRUE); $form_values = $this->_request->getPost(); $locations = new Model_Locations(); $locations->form_values = $form_values; $result = $locations->checkLocation(); $this->view->result = $result; }