Esempio n. 1
0
 public function answersAction()
 {
     if ($this->auth->hasIdentity()) {
         $getanswer = new Application_Model_forum($this->registry['DB']);
         $questionid = $this->getRequest()->getParam('questionid');
         $this->view->results = $getanswer->answers($questionid);
     }
 }