{ $model=new Comment; if(isset($_POST)) { $content= $_POST['content']; $id = $_POST['uuid']; } $this->render('comment',array('model'=>$model)); }