1 | <?php |
||
30 | class EntryNotFoundException extends FormzException |
||
31 | { |
||
32 | const FIELD_NOT_FOUND = 'The field "%s" was not found in the form "%s" with class "%s".'; |
||
33 | |||
34 | const CONDITION_NOT_FOUND = 'Trying to access a condition which is not registered: "%s". Here is a list of all currently registered conditions: "%s".'; |
||
35 | |||
36 | const ACTIVATION_CONDITION_NOT_FOUND = 'No condition "%s" was found.'; |
||
37 | |||
38 | const CONFIGURATION_FIELD_NOT_FOUND = 'The field "%s" was not found. Please use the function `%s::hasField()` before.'; |
||
39 | |||
40 | const VALIDATION_NOT_FOUND = 'The validation "%s" was not found. Please use the function `%s::hasValidation()` before.'; |
||
41 | |||
42 | const VIEW_LAYOUT_NOT_FOUND = 'The layout "%s" was not found. Please use the function `%s::hasLayout()` before.'; |
||
43 | |||
44 | const VIEW_LAYOUT_ITEM_NOT_FOUND = 'The layout item "%s" was not found. Please use the function `%s::hasItem()` before.'; |
||
45 | |||
46 | const VIEW_CLASS_NOT_FOUND = 'The class "%s" was not found. Please use the function `%s::hasItem()` before.'; |
||
47 | |||
48 | const VALIDATION_NOT_FOUND_FOR_FIELD = 'The field "%s" does not have a rule "%s".'; |
||
49 | |||
50 | const ERROR_KEY_NOT_FOUND_FOR_VALIDATOR = 'The error key "%s" does not exist for the validator "%s".'; |
||
51 | |||
52 | const VIEW_HELPER_FIELD_NOT_FOUND = 'The field "%s" could not be fetched for the view helper "%s": please either use this view helper inside the view helper "%s", or fill the parameter `field` of this view helper with the field name you want.'; |
||
53 | |||
54 | const FIELD_VIEW_HELPER_LAYOUT_NOT_FOUND = 'The layout "%s" could not be found. Please check your TypoScript configuration.'; |
||
55 | |||
56 | const FIELD_VIEW_HELPER_LAYOUT_ITEM_NOT_FOUND = 'The layout "%s" does not have an item "%s".'; |
||
57 | |||
58 | const CONTROLLER_SERVICE_ACTION_FORM_ARGUMENT_MISSING = 'The method `%s::%s()` must have a parameter `$%s`. Note that you can also change the parameter `name` of the form view helper.'; |
||
59 | |||
60 | const SLOT_NOT_FOUND = 'No slot "%s" was found.'; |
||
61 | |||
62 | const ARGUMENT_NOT_FOUND = 'Trying to get an argument that does not exist: "%s". Please use function `has()`.'; |
||
63 | |||
64 | const FORM_REQUEST_DATA_NOT_FOUND = 'The data "%s" was not found. Please use the function `%s::hasData()` before.'; |
||
65 | |||
66 | const PERSISTENCE_SESSION_ENTRY_NOT_FOUND = 'The form with identifier "%s" was not found in the session, please use the function `%s::has()` before.'; |
||
67 | |||
68 | /** |
||
69 | * @code 1472650209 |
||
70 | * |
||
71 | * @param string $name |
||
72 | * @param array $list |
||
73 | * @return self |
||
74 | */ |
||
75 | final public static function conditionNotFound($name, array $list) |
||
88 | |||
89 | /** |
||
90 | * @code 1488482191 |
||
91 | * |
||
92 | * @param string $name |
||
93 | * @return self |
||
94 | */ |
||
95 | final public static function activationConditionNotFound($name) |
||
105 | |||
106 | /** |
||
107 | * @code 1489765133 |
||
108 | * |
||
109 | * @param string $name |
||
110 | * @return self |
||
111 | */ |
||
112 | final public static function configurationFieldNotFound($name) |
||
122 | |||
123 | /** |
||
124 | * @code 1487672276 |
||
125 | * |
||
126 | * @param string $name |
||
127 | * @return self |
||
128 | */ |
||
129 | final public static function validationNotFound($name) |
||
139 | |||
140 | /** |
||
141 | * @code 1489753952 |
||
142 | * |
||
143 | * @param string $name |
||
144 | * @return self |
||
145 | */ |
||
146 | final public static function viewLayoutNotFound($name) |
||
156 | |||
157 | /** |
||
158 | * @code 1489757511 |
||
159 | * |
||
160 | * @param string $name |
||
161 | * @return self |
||
162 | */ |
||
163 | final public static function viewLayoutItemNotFound($name) |
||
173 | |||
174 | /** |
||
175 | * @code 1489754909 |
||
176 | * |
||
177 | * @param string $name |
||
178 | * @return self |
||
179 | */ |
||
180 | final public static function viewClassNotFound($name) |
||
190 | |||
191 | /** |
||
192 | * @code 1487672956 |
||
193 | * |
||
194 | * @param string $validationName |
||
195 | * @param string $fieldName |
||
196 | * @return self |
||
197 | */ |
||
198 | final public static function ajaxControllerValidationNotFoundForField($validationName, $fieldName) |
||
208 | |||
209 | /** |
||
210 | * @code 1487671603 |
||
211 | * |
||
212 | * @param string $fieldName |
||
213 | * @param FormObject $formObject |
||
214 | * @return self |
||
215 | */ |
||
216 | final public static function ajaxControllerFieldNotFound($fieldName, FormObject $formObject) |
||
226 | |||
227 | /** |
||
228 | * @code 1455272659 |
||
229 | * |
||
230 | * @param string $key |
||
231 | * @param AbstractValidator $validator |
||
232 | * @return self |
||
233 | */ |
||
234 | final public static function errorKeyNotFoundForValidator($key, AbstractValidator $validator) |
||
244 | |||
245 | /** |
||
246 | * @code 1487947224 |
||
247 | * |
||
248 | * @param string $fieldName |
||
249 | * @param FormObject $formObject |
||
250 | * @return self |
||
251 | */ |
||
252 | final public static function equalsToFieldValidatorFieldNotFound($fieldName, FormObject $formObject) |
||
262 | |||
263 | /** |
||
264 | * @code 1467623761 |
||
265 | * |
||
266 | * @param string $fieldName |
||
267 | * @return self |
||
268 | */ |
||
269 | final public static function classViewHelperFieldNotFound($fieldName) |
||
279 | |||
280 | /** |
||
281 | * @code 1467624152 |
||
282 | * |
||
283 | * @param string $fieldName |
||
284 | * @return self |
||
285 | */ |
||
286 | final public static function formatMessageViewHelperFieldNotFound($fieldName) |
||
296 | |||
297 | /** |
||
298 | * @code 1465243586 |
||
299 | * |
||
300 | * @param string $layoutName |
||
301 | * @return self |
||
302 | */ |
||
303 | final public static function fieldViewHelperLayoutNotFound($layoutName) |
||
313 | |||
314 | /** |
||
315 | * @code 1485867803 |
||
316 | * |
||
317 | * @param string $layoutName |
||
318 | * @param string $itemName |
||
319 | * @return self |
||
320 | */ |
||
321 | final public static function fieldViewHelperLayoutItemNotFound($layoutName, $itemName) |
||
331 | |||
332 | /** |
||
333 | * @code 1473084335 |
||
334 | * |
||
335 | * @param string $fieldName |
||
336 | * @param FormObject $formObject |
||
337 | * @return self |
||
338 | */ |
||
339 | final public static function formatMessageViewHelperFieldNotFoundInForm($fieldName, FormObject $formObject) |
||
349 | |||
350 | /** |
||
351 | * @code 1457441846 |
||
352 | * |
||
353 | * @param string $controllerObjectName |
||
354 | * @param string $actionName |
||
355 | * @param string $formName |
||
356 | * @return self |
||
357 | */ |
||
358 | final public static function controllerServiceActionFormArgumentMissing($controllerObjectName, $actionName, $formName) |
||
368 | |||
369 | /** |
||
370 | * @code 1488988452 |
||
371 | * |
||
372 | * @param string $name |
||
373 | * @return self |
||
374 | */ |
||
375 | final public static function slotClosureSlotNotFound($name) |
||
385 | |||
386 | /** |
||
387 | * @code 1489497046 |
||
388 | * |
||
389 | * @param string $name |
||
390 | * @return self |
||
391 | */ |
||
392 | final public static function slotArgumentsSlotNotFound($name) |
||
402 | |||
403 | /** |
||
404 | * @code 1490792697 |
||
405 | * |
||
406 | * @param string $name |
||
407 | * @return self |
||
408 | */ |
||
409 | final public static function argumentNotFound($name) |
||
419 | |||
420 | /** |
||
421 | * @code 1490799273 |
||
422 | * |
||
423 | * @param string $name |
||
424 | * @return self |
||
425 | */ |
||
426 | final public static function formRequestDataNotFound($name) |
||
436 | |||
437 | /** |
||
438 | * @code 1491293933 |
||
439 | * |
||
440 | * @param FormIdentifierObject $identifierObject |
||
441 | * @return EntryNotFoundException |
||
442 | */ |
||
443 | final public static function persistenceSessionEntryNotFound(FormIdentifierObject $identifierObject) |
||
453 | } |
||
454 |