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); } }