public function actionDoNewComent() { $coment = new Coment(); $coment->AddComent($this->params); $this->util->redirect('?action=view-post&id=' . intval($this->params['post_id'])); }