1 | <?php |
||
21 | class TicketControllerExtension extends Extension |
||
22 | { |
||
23 | private static $allowed_actions = array( |
||
|
|||
24 | 'TicketForm', |
||
25 | 'WaitingListRegistrationForm', |
||
26 | 'checkin' |
||
27 | ); |
||
28 | |||
29 | /** |
||
30 | * Get the ticket form with available tickets |
||
31 | * |
||
32 | * @return TicketForm |
||
33 | */ |
||
34 | public function TicketForm() |
||
44 | |||
45 | /** |
||
46 | * show the waiting list form when the event is sold out |
||
47 | * |
||
48 | * @return WaitingListRegistrationForm |
||
49 | */ |
||
50 | public function WaitingListRegistrationForm() |
||
62 | |||
63 | /** |
||
64 | * Go to the check in controller |
||
65 | * |
||
66 | * @return CheckInController |
||
67 | */ |
||
68 | public function checkIn() |
||
72 | |||
73 | /** |
||
74 | * Checks the waiting list var |
||
75 | * |
||
76 | * @return mixed |
||
77 | */ |
||
78 | public function getWaitingListSuccess() |
||
82 | } |
||
83 |