/** * */ public function actionIndex() { $model = new Callback('search'); $model->unsetAttributes(); if ($data = Yii::app()->getRequest()->getQuery('Callback')) { $model->setAttributes($data); } $this->render('index', ['model' => $model]); }
/** * */ public function actionIndex() { $model = new Callback('search'); $model->unsetAttributes(); if ($data = Yii::app()->getRequest()->getQuery('Callback')) { $model->setAttributes($data); } $this->render('index', ['model' => $model]); }