Exemplo n.º 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]);
 }
Exemplo n.º 2
0
 public function actionIndexAjax()
 {
     $searchModel = new DriversSearch();
     $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
     return $this->render('index-ajax', ['searchModel' => $searchModel, 'dataProvider' => $dataProvider]);
 }