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
|
@@ 76-85 (lines=10) @@
|
73 |
|
* Lists all User models. |
74 |
|
* @return mixed |
75 |
|
*/ |
76 |
|
public function actionIndex() |
77 |
|
{ |
78 |
|
$searchModel = new UserSearch(); |
79 |
|
$dataProvider = $searchModel->search(Yii::$app->request->queryParams); |
80 |
|
|
81 |
|
return $this->render('index', [ |
82 |
|
'searchModel' => $searchModel, |
83 |
|
'dataProvider' => $dataProvider, |
84 |
|
]); |
85 |
|
} |
86 |
|
|
87 |
|
/** |
88 |
|
* Displays a single User model. |