1 | <?php |
||
15 | class DefaultController extends Controller |
||
16 | { |
||
17 | public $enableCsrfValidation = false; |
||
18 | |||
19 | /** |
||
20 | * @inheritdoc |
||
21 | */ |
||
22 | public function behaviors() |
||
42 | |||
43 | /** |
||
44 | * Lists all RomRelease models. |
||
45 | * @return mixed |
||
46 | */ |
||
47 | public function actionIndex() |
||
56 | |||
57 | /** |
||
58 | * Displays a single RomRelease model. |
||
59 | * @param integer $id |
||
60 | * @return mixed |
||
61 | */ |
||
62 | public function actionView($id) |
||
68 | |||
69 | /** |
||
70 | * Creates a new RomRelease 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 RomRelease 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 RomRelease 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) |
||
117 | |||
118 | /** |
||
119 | * Finds the RomRelease model based on its primary key value. |
||
120 | * If the model is not found, a 404 HTTP exception will be thrown. |
||
121 | * @param integer $id |
||
122 | * @return RomRelease the loaded model |
||
123 | * @throws NotFoundHttpException if the model cannot be found |
||
124 | */ |
||
125 | protected function findModel($id) |
||
133 | } |
||
134 |