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