1 | <?php |
||
16 | class AdminController extends Controller |
||
17 | { |
||
18 | /** |
||
19 | * @inheritdoc |
||
20 | */ |
||
21 | public function behaviors() |
||
41 | |||
42 | /** |
||
43 | * Lists all Admin models. |
||
44 | * @return yii\data\ActiveDataProvider |
||
45 | */ |
||
46 | public function actionIndex() |
||
52 | |||
53 | /** |
||
54 | * Displays a single Admin model. |
||
55 | * @param integer $id |
||
56 | * @return mixed |
||
57 | */ |
||
58 | public function actionView($id) |
||
62 | |||
63 | /** |
||
64 | * Creates a new Admin model. |
||
65 | * If creation is successful, the browser will be redirected to the 'view' page. |
||
66 | * @return mixed |
||
67 | */ |
||
68 | public function actionCreate() |
||
74 | |||
75 | /** |
||
76 | * Updates an existing Admin model. |
||
77 | * If update is successful, the browser will be redirected to the 'view' page. |
||
78 | * @param integer $id |
||
79 | * @return mixed |
||
80 | */ |
||
81 | public function actionUpdate($id) |
||
86 | |||
87 | /** |
||
88 | * Deletes an existing Admin model. |
||
89 | * If deletion is successful, the browser will be redirected to the 'index' page. |
||
90 | * @param integer $id |
||
91 | * @return mixed |
||
92 | */ |
||
93 | public function actionDelete($id) |
||
97 | |||
98 | /** |
||
99 | * Finds the Admin model based on its primary key value. |
||
100 | * If the model is not found, a 404 HTTP exception will be thrown. |
||
101 | * @param integer $id |
||
102 | * @return Admin the loaded model |
||
103 | * @throws NotFoundHttpException if the model cannot be found |
||
104 | */ |
||
105 | protected function findModel($id) |
||
113 | } |
||
114 |
This method has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.