Example #1
0
 public function actionDetail($app_id)
 {
     $searchModel = new DriversSearch(['appilcant_id' => $app_id]);
     $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
     return $this->render('detail', ['searchModel' => $searchModel, 'dataProvider' => $dataProvider]);
 }
 public function actionIndexAjax()
 {
     $searchModel = new DriversSearch();
     $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
     return $this->render('index-ajax', ['searchModel' => $searchModel, 'dataProvider' => $dataProvider]);
 }