public function votequestionAction() { $this->_helper->viewRenderer->setNoRender(true); if ($this->auth->hasIdentity()) { $votequestion = new Application_Model_forum($this->registry['DB']); $questionid = $this->getRequest()->getParam('questionid'); $this->view->results = $votequestion->voteQuestion($questionid); } }