예제 #1
0
 public function editcommentAction()
 {
     $this->_helper->viewRenderer->setNoRender(true);
     if ($this->auth->hasIdentity()) {
         $editcomment = new Application_Model_forum($this->registry['DB']);
         $commentid = $this->getRequest()->getParam('commentid');
         $comment = $this->getRequest()->getParam('comment');
         $this->view->results = $editcomment->editComment($commentid, $comment);
     }
 }