public function voteanswerAction() { $this->_helper->viewRenderer->setNoRender(true); if ($this->auth->hasIdentity()) { $voteanswer = new Application_Model_forum($this->registry['DB']); $id = $this->getRequest()->getParam('answerid'); $this->view->results = $voteanswer->voteAnswer($id); } }