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 | * @return mixed |
||
38 | */ |
||
39 | public function actionRelease($release_token) |
||
64 | |||
65 | public function actionExpired() { |
||
69 | |||
70 | /** |
||
71 | * Finds the ConfirmationRequest model based on its primary key value. |
||
72 | * If the model is not found, a 404 HTTP exception will be thrown. |
||
73 | * @return ConfirmationRequest the loaded model |
||
74 | * @throws NotFoundHttpException if the model cannot be found |
||
75 | */ |
||
76 | protected function findModel($release_token) |
||
84 | } |
||
85 |
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.