1 | <?php |
||
16 | abstract class AbstractController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionController |
||
17 | { |
||
18 | /** |
||
19 | * EventRepository |
||
20 | * |
||
21 | * @var \DERHANSEN\SfEventMgt\Domain\Repository\EventRepository |
||
22 | */ |
||
23 | protected $eventRepository = null; |
||
24 | |||
25 | /** |
||
26 | * Registration repository |
||
27 | * |
||
28 | * @var \DERHANSEN\SfEventMgt\Domain\Repository\RegistrationRepository |
||
29 | */ |
||
30 | protected $registrationRepository = null; |
||
31 | |||
32 | /** |
||
33 | * Category repository |
||
34 | * |
||
35 | * @var \DERHANSEN\SfEventMgt\Domain\Repository\CategoryRepository |
||
36 | */ |
||
37 | protected $categoryRepository = null; |
||
38 | |||
39 | /** |
||
40 | * Location repository |
||
41 | * |
||
42 | * @var \DERHANSEN\SfEventMgt\Domain\Repository\LocationRepository |
||
43 | */ |
||
44 | protected $locationRepository = null; |
||
45 | |||
46 | /** |
||
47 | * Organisator repository |
||
48 | * |
||
49 | * @var \DERHANSEN\SfEventMgt\Domain\Repository\OrganisatorRepository |
||
50 | */ |
||
51 | protected $organisatorRepository = null; |
||
52 | |||
53 | /** |
||
54 | * Notification Service |
||
55 | * |
||
56 | * @var \DERHANSEN\SfEventMgt\Service\NotificationService |
||
57 | */ |
||
58 | protected $notificationService = null; |
||
59 | |||
60 | /** |
||
61 | * ICalendar Service |
||
62 | * |
||
63 | * @var \DERHANSEN\SfEventMgt\Service\ICalendarService |
||
64 | */ |
||
65 | protected $icalendarService = null; |
||
66 | |||
67 | /** |
||
68 | * Hash Service |
||
69 | * |
||
70 | * @var \TYPO3\CMS\Extbase\Security\Cryptography\HashService |
||
71 | */ |
||
72 | protected $hashService; |
||
73 | |||
74 | /** |
||
75 | * RegistrationService |
||
76 | * |
||
77 | * @var \DERHANSEN\SfEventMgt\Service\RegistrationService |
||
78 | */ |
||
79 | protected $registrationService = null; |
||
80 | |||
81 | /** |
||
82 | * CalendarService |
||
83 | * |
||
84 | * @var \DERHANSEN\SfEventMgt\Service\CalendarService |
||
85 | */ |
||
86 | protected $calendarService = null; |
||
87 | |||
88 | /** |
||
89 | * UtilityService |
||
90 | * |
||
91 | * @var \DERHANSEN\SfEventMgt\Service\UtilityService |
||
92 | */ |
||
93 | protected $utilityService = null; |
||
94 | |||
95 | /** |
||
96 | * PaymentMethodService |
||
97 | * |
||
98 | * @var \DERHANSEN\SfEventMgt\Service\PaymentService |
||
99 | */ |
||
100 | protected $paymentService = null; |
||
101 | |||
102 | /** |
||
103 | * FieldRepository |
||
104 | * |
||
105 | * @var \DERHANSEN\SfEventMgt\Domain\Repository\Registration\FieldRepository |
||
106 | */ |
||
107 | protected $fieldRepository = null; |
||
108 | |||
109 | /** |
||
110 | * DI for $calendarService |
||
111 | * |
||
112 | * @param \DERHANSEN\SfEventMgt\Service\CalendarService $calendarService |
||
113 | */ |
||
114 | public function injectCalendarService(\DERHANSEN\SfEventMgt\Service\CalendarService $calendarService) |
||
118 | |||
119 | /** |
||
120 | * DI for $categoryRepository |
||
121 | * |
||
122 | * @param \DERHANSEN\SfEventMgt\Domain\Repository\CategoryRepository $categoryRepository |
||
123 | */ |
||
124 | public function injectCategoryRepository( |
||
129 | |||
130 | /** |
||
131 | * DI for $eventRepository |
||
132 | * |
||
133 | * @param \DERHANSEN\SfEventMgt\Domain\Repository\EventRepository $eventRepository |
||
134 | */ |
||
135 | public function injectEventRepository(\DERHANSEN\SfEventMgt\Domain\Repository\EventRepository $eventRepository) |
||
139 | |||
140 | /** |
||
141 | * DI for $hashService |
||
142 | * |
||
143 | * @param \TYPO3\CMS\Extbase\Security\Cryptography\HashService $hashService |
||
144 | */ |
||
145 | public function injectHashService(\TYPO3\CMS\Extbase\Security\Cryptography\HashService $hashService) |
||
149 | |||
150 | /** |
||
151 | * DI for $icalendarService |
||
152 | * |
||
153 | * @param \DERHANSEN\SfEventMgt\Service\ICalendarService $icalendarService |
||
154 | */ |
||
155 | public function injectIcalendarService(\DERHANSEN\SfEventMgt\Service\ICalendarService $icalendarService) |
||
159 | |||
160 | /** |
||
161 | * DI for $locationRepository |
||
162 | * |
||
163 | * @param \DERHANSEN\SfEventMgt\Domain\Repository\LocationRepository $locationRepository |
||
164 | */ |
||
165 | public function injectLocationRepository( |
||
170 | |||
171 | /** |
||
172 | * DI for $notificationService |
||
173 | * |
||
174 | * @param \DERHANSEN\SfEventMgt\Service\NotificationService $notificationService |
||
175 | */ |
||
176 | public function injectNotificationService(\DERHANSEN\SfEventMgt\Service\NotificationService $notificationService) |
||
180 | |||
181 | /** |
||
182 | * DI for $organisatorRepository |
||
183 | * |
||
184 | * @param \DERHANSEN\SfEventMgt\Domain\Repository\OrganisatorRepository $organisatorRepository |
||
185 | */ |
||
186 | public function injectOrganisatorRepository( |
||
191 | |||
192 | /** |
||
193 | * DI for $paymentService |
||
194 | * |
||
195 | * @param \DERHANSEN\SfEventMgt\Service\PaymentService $paymentService |
||
196 | */ |
||
197 | public function injectPaymentService(\DERHANSEN\SfEventMgt\Service\PaymentService $paymentService) |
||
201 | |||
202 | /** |
||
203 | * DI for $registrationRepository |
||
204 | * |
||
205 | * @param \DERHANSEN\SfEventMgt\Domain\Repository\RegistrationRepository $registrationRepository |
||
206 | */ |
||
207 | public function injectRegistrationRepository( |
||
212 | |||
213 | /** |
||
214 | * DI for $registrationService |
||
215 | * |
||
216 | * @param \DERHANSEN\SfEventMgt\Service\RegistrationService $registrationService |
||
217 | */ |
||
218 | public function injectRegistrationService(\DERHANSEN\SfEventMgt\Service\RegistrationService $registrationService) |
||
222 | |||
223 | /** |
||
224 | * DI for $utilityService |
||
225 | * |
||
226 | * @param \DERHANSEN\SfEventMgt\Service\UtilityService $utilityService |
||
227 | */ |
||
228 | public function injectUtilityService(\DERHANSEN\SfEventMgt\Service\UtilityService $utilityService) |
||
232 | |||
233 | /** |
||
234 | * DI for $fieldRepository |
||
235 | * |
||
236 | * @param \DERHANSEN\SfEventMgt\Domain\Repository\Registration\FieldRepository $fieldRepository |
||
237 | */ |
||
238 | public function injectFieldRepository( |
||
243 | |||
244 | /** |
||
245 | * Dispatches the signal with the given name |
||
246 | * |
||
247 | * @param string $signalClassName |
||
248 | * @param string $signalName |
||
249 | * @param array $arguments |
||
250 | * @return mixed |
||
251 | */ |
||
252 | protected function signalDispatch($signalClassName, $signalName, array $arguments) |
||
256 | } |
||
257 |