1 | <?php |
||
15 | class MenuController extends Controller |
||
16 | { |
||
17 | /** |
||
18 | * @inheritdoc |
||
19 | */ |
||
20 | public function behaviors() |
||
31 | |||
32 | /** |
||
33 | * Lists all Menu models. |
||
34 | * @return mixed |
||
35 | */ |
||
36 | public function actionIndex() |
||
46 | |||
47 | /** |
||
48 | * Displays a single Menu model. |
||
49 | * @param integer $id |
||
50 | * @return mixed |
||
51 | */ |
||
52 | public function actionView($id) |
||
58 | |||
59 | /** |
||
60 | * Creates a new Menu model. |
||
61 | * If creation is successful, the browser will be redirected to the 'view' page. |
||
62 | * @return mixed |
||
63 | */ |
||
64 | public function actionCreate() |
||
76 | |||
77 | /** |
||
78 | * Updates an existing Menu model. |
||
79 | * If update is successful, the browser will be redirected to the 'view' page. |
||
80 | * @param integer $id |
||
81 | * @return mixed |
||
82 | */ |
||
83 | public function actionUpdate($id) |
||
95 | |||
96 | /** |
||
97 | * Deletes an existing Menu model. |
||
98 | * If deletion is successful, the browser will be redirected to the 'index' page. |
||
99 | * @param integer $id |
||
100 | * @return mixed |
||
101 | */ |
||
102 | public function actionDelete($id) |
||
108 | |||
109 | /** |
||
110 | * Finds the Menu model based on its primary key value. |
||
111 | * If the model is not found, a 404 HTTP exception will be thrown. |
||
112 | * @param integer $id |
||
113 | * @return Menu the loaded model |
||
114 | * @throws NotFoundHttpException if the model cannot be found |
||
115 | */ |
||
116 | protected function findModel($id) |
||
124 | } |
||
125 |
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.