Код: Выделить всё
if ($model->save()) {
$message = "Данные сохранены";
$this->redirect('index', array('message'=>$message));
}
Код: Выделить всё
if ($model->save()) {
$message = "Данные сохранены";
$this->redirect('index', array('message'=>$message));
}
Код: Выделить всё
$this->redirect( Yii::app()->createUrl('index',array('param'=>$param)) );
Код: Выделить всё
Yii::app()->user->setFlash('tipDay','Данные сохранены');
$this->redirect(array('index','param1'=>'val1'));
Спасибо!Ekstazi писал(а):Код: Выделить всё
Yii::app()->user->setFlash('tipDay','Данные сохранены'); $this->redirect(array('index','param1'=>'val1'));