src/controllers/DefaultController.php
/**
	 * Lists all Role models.
	 * @return mixed
	 */
Lists all Role models.
@return mixed
Lists all Role models . @return mixed
public function actionIndex() {
		$searchModel  = new RoleSearch();
		$dataProvider = $searchModel->search(Yii::$app->request->queryParams);
		return $this->render('index', [
			'searchModel'  => $searchModel,
			'dataProvider' => $dataProvider,
		]);
	}
public function actionIndex ( ) { $ searchModel = new RoleSearch ( ) ; $ dataProvider = $ searchModel -> search ( Yii :: $ app -> request -> queryParams ) ; return $ this -> render ( 'index' , [ 'searchModel' => $ searchModel , 'dataProvider' => $ dataProvider , ] ) ; }
Lists all Role models.
Lists all Role models .