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