Пример #1
0
 /**
  *
  */
 protected function add()
 {
     $res = $this->table->addComment($_POST['ref_id'], $_POST['ref_name'], $_POST['content']);
     $this->view->setStatus($res !== false);
     $this->view->addData($res);
 }