1 | <?php |
||
16 | class AppController extends Controller |
||
17 | { |
||
18 | /** |
||
19 | * @inheritdoc |
||
20 | */ |
||
21 | public function behaviors() |
||
41 | |||
42 | /** |
||
43 | * Lists all App models. |
||
44 | * @return mixed |
||
45 | */ |
||
46 | public function actionIndex() |
||
56 | |||
57 | /** |
||
58 | * Displays a single App model. |
||
59 | * @param integer $id |
||
60 | * @return mixed |
||
61 | */ |
||
62 | public function actionView($id) |
||
68 | |||
69 | /** |
||
70 | * Creates a new App model. |
||
71 | * If creation is successful, the browser will be redirected to the 'view' page. |
||
72 | * @return mixed |
||
73 | */ |
||
74 | public function actionCreate() |
||
86 | |||
87 | /** |
||
88 | * Updates an existing App model. |
||
89 | * If update is successful, the browser will be redirected to the 'view' page. |
||
90 | * @param integer $id |
||
91 | * @return mixed |
||
92 | */ |
||
93 | public function actionUpdate($id) |
||
105 | |||
106 | /** |
||
107 | * Deletes an existing App model. |
||
108 | * If deletion is successful, the browser will be redirected to the 'index' page. |
||
109 | * @param integer $id |
||
110 | * @return mixed |
||
111 | */ |
||
112 | public function actionDelete($id) |
||
118 | |||
119 | /** |
||
120 | * Finds the App model based on its primary key value. |
||
121 | * If the model is not found, a 404 HTTP exception will be thrown. |
||
122 | * @param integer $id |
||
123 | * @return OauthClients the loaded model |
||
124 | * @throws NotFoundHttpException if the model cannot be found |
||
125 | */ |
||
126 | protected function findModel($id) |
||
134 | } |
||
135 |