1 | <?php |
||
15 | class ConfirmationRequestsController extends Controller |
||
16 | { |
||
17 | |||
18 | var $defaultAction = 'release'; |
||
|
|||
19 | /** |
||
20 | * @inheritdoc |
||
21 | */ |
||
22 | public function behaviors() |
||
33 | |||
34 | |||
35 | /** |
||
36 | * Releases a single change as stored in the ConfirmationRequest model. |
||
37 | * @param integer $id |
||
38 | * @return mixed |
||
39 | */ |
||
40 | public function actionRelease($release_token) |
||
65 | |||
66 | public function actionExpired(){ |
||
70 | |||
71 | /** |
||
72 | * Finds the ConfirmationRequest model based on its primary key value. |
||
73 | * If the model is not found, a 404 HTTP exception will be thrown. |
||
74 | * @param integer $id |
||
75 | * @return ConfirmationRequest the loaded model |
||
76 | * @throws NotFoundHttpException if the model cannot be found |
||
77 | */ |
||
78 | protected function findModel($release_token) |
||
86 | } |
||
87 |
The PSR-2 coding standard requires that all properties in a class have their visibility explicitly declared. If you declare a property using
the property is implicitly global.
To learn more about the PSR-2, please see the PHP-FIG site on the PSR-2.