Exemplo n.º 1
0
 /**
  * Lists all Country models.
  * @return mixed
  */
 public function actionIndex()
 {
     $model = new models\RbacAuthitems();
     $model->scenario = 'search';
     $dataProvider = $model->search(Yii::$app->request->queryParams);
     return $this->render('/rbac/authitems/index', ['model' => $model, 'dataProvider' => $dataProvider]);
 }