Ejemplo n.º 1
0
 public function editAction()
 {
     if ($this->_request->getParam("id")) {
         $id = $this->_request->getParam("id");
         $body = $this->_request->getParam("body");
         $comment_model = new Application_Model_Comment();
         $comment_model->editComment($id, $body);
     }
 }