Пример #1
0
 /**
  * Lists all Kehadiran models.
  * @return mixed
  */
 public function actionIndex()
 {
     $this->layout = 'back';
     $searchModel = new KehadiranSearch();
     $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
     return $this->render('index', ['searchModel' => $searchModel, 'dataProvider' => $dataProvider]);
 }
Пример #2
0
 public function actionIndex()
 {
     $searchModel = new KehadiranSearch();
     $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
     $modelKehadiran = new Kehadiran();
     return $this->render('index', ['searchModel' => $searchModel, 'dataProvider' => $dataProvider, 'modelKehadiran' => $modelKehadiran]);
 }