components/ItemController.php 1 location
|
@@ 47-56 (lines=10) @@
|
| 44 |
|
* Lists all AuthItem models. |
| 45 |
|
* @return mixed |
| 46 |
|
*/ |
| 47 |
|
public function actionIndex() |
| 48 |
|
{ |
| 49 |
|
$searchModel = new AuthItemSearch(['type' => $this->type]); |
| 50 |
|
$dataProvider = $searchModel->search(Yii::$app->request->getQueryParams()); |
| 51 |
|
|
| 52 |
|
return $this->render('index', [ |
| 53 |
|
'dataProvider' => $dataProvider, |
| 54 |
|
'searchModel' => $searchModel, |
| 55 |
|
]); |
| 56 |
|
} |
| 57 |
|
|
| 58 |
|
/** |
| 59 |
|
* Displays a single AuthItem model. |
controllers/MenuController.php 1 location
|
@@ 41-50 (lines=10) @@
|
| 38 |
|
* Lists all Menu models. |
| 39 |
|
* @return mixed |
| 40 |
|
*/ |
| 41 |
|
public function actionIndex() |
| 42 |
|
{ |
| 43 |
|
$searchModel = new MenuSearch; |
| 44 |
|
$dataProvider = $searchModel->search(Yii::$app->request->getQueryParams()); |
| 45 |
|
|
| 46 |
|
return $this->render('index', [ |
| 47 |
|
'dataProvider' => $dataProvider, |
| 48 |
|
'searchModel' => $searchModel, |
| 49 |
|
]); |
| 50 |
|
} |
| 51 |
|
|
| 52 |
|
/** |
| 53 |
|
* Displays a single Menu model. |
controllers/RuleController.php 1 location
|
@@ 42-51 (lines=10) @@
|
| 39 |
|
* Lists all AuthItem models. |
| 40 |
|
* @return mixed |
| 41 |
|
*/ |
| 42 |
|
public function actionIndex() |
| 43 |
|
{ |
| 44 |
|
$searchModel = new BizRuleSearch(); |
| 45 |
|
$dataProvider = $searchModel->search(Yii::$app->request->getQueryParams()); |
| 46 |
|
|
| 47 |
|
return $this->render('index', [ |
| 48 |
|
'dataProvider' => $dataProvider, |
| 49 |
|
'searchModel' => $searchModel, |
| 50 |
|
]); |
| 51 |
|
} |
| 52 |
|
|
| 53 |
|
/** |
| 54 |
|
* Displays a single AuthItem model. |
controllers/UserController.php 1 location
|
@@ 77-86 (lines=10) @@
|
| 74 |
|
* Lists all User models. |
| 75 |
|
* @return mixed |
| 76 |
|
*/ |
| 77 |
|
public function actionIndex() |
| 78 |
|
{ |
| 79 |
|
$searchModel = new UserSearch(); |
| 80 |
|
$dataProvider = $searchModel->search(Yii::$app->request->queryParams); |
| 81 |
|
|
| 82 |
|
return $this->render('index', [ |
| 83 |
|
'searchModel' => $searchModel, |
| 84 |
|
'dataProvider' => $dataProvider, |
| 85 |
|
]); |
| 86 |
|
} |
| 87 |
|
|
| 88 |
|
/** |
| 89 |
|
* Displays a single User model. |