1 | <?php |
||
36 | class EntryNotFoundException extends FormzException |
||
37 | { |
||
38 | const FIELD_NOT_FOUND = 'The field "%s" was not found in the form "%s" with class "%s".'; |
||
39 | |||
40 | const CONDITION_NOT_FOUND = 'Trying to access a condition which is not registered: "%s". Here is a list of all currently registered conditions: "%s".'; |
||
41 | |||
42 | const ADD_CONDITION_NOT_FOUND = 'Trying to add a condition "%s" which is not registered to the form definition. Here is a list of all currently registered conditions: "%s".'; |
||
43 | |||
44 | const INSTANTIATE_CONDITION_NOT_FOUND = 'Trying to instantiate a condition which is not registered: "%s". Here is a list of all currently registered conditions: "%s".'; |
||
45 | |||
46 | const ACTIVATION_CONDITION_NOT_FOUND = 'No condition "%s" was found.'; |
||
47 | |||
48 | const CONFIGURATION_FIELD_NOT_FOUND = 'The field "%s" was not found. Please use the function `%s::hasField()` before.'; |
||
49 | |||
50 | const VALIDATOR_NOT_FOUND = 'The validation "%s" was not found. Please use the function `%s::hasValidator()` before.'; |
||
51 | |||
52 | const VIEW_LAYOUT_NOT_FOUND = 'The layout "%s" was not found. Please use the function `%s::hasLayout()` before.'; |
||
53 | |||
54 | const VIEW_LAYOUT_ITEM_NOT_FOUND = 'The layout item "%s" was not found. Please use the function `%s::hasItem()` before.'; |
||
55 | |||
56 | const VIEW_CLASS_NOT_FOUND = 'The class "%s" was not found. Please use the function `%s::hasItem()` before.'; |
||
57 | |||
58 | const VALIDATION_NOT_FOUND_FOR_FIELD = 'The field "%s" does not have a rule "%s".'; |
||
59 | |||
60 | const ERROR_KEY_NOT_FOUND_FOR_VALIDATOR = 'The error key "%s" does not exist for the validator "%s".'; |
||
61 | |||
62 | 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.'; |
||
63 | |||
64 | const FIELD_VIEW_HELPER_LAYOUT_NOT_FOUND = 'The layout "%s" could not be found. Please check your TypoScript configuration.'; |
||
65 | |||
66 | const FIELD_VIEW_HELPER_LAYOUT_ITEM_NOT_FOUND = 'The layout "%s" does not have an item "%s".'; |
||
67 | |||
68 | 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.'; |
||
69 | |||
70 | const SLOT_NOT_FOUND = 'No slot "%s" was found.'; |
||
71 | |||
72 | const ARGUMENT_NOT_FOUND = 'Trying to get an argument that does not exist: "%s". Please use function `has()`.'; |
||
73 | |||
74 | const FORM_REQUEST_DATA_NOT_FOUND = 'The data "%s" was not found. Please use the function `%s::hasData()` before.'; |
||
75 | |||
76 | const PERSISTENCE_SESSION_ENTRY_NOT_FOUND = 'The form with identifier "%s" was not found in the session, please use the function `%s::has()` before.'; |
||
77 | |||
78 | const META_DATA_NOT_FOUND = 'The metadata "%s" was not found. Please use the function `%s::has()` before.'; |
||
79 | |||
80 | const FORM_CONFIGURATION_NOT_FOUND = 'The configuration for form of class "%s" was not found. Please use the function `%s::hasForm()` before.'; |
||
81 | |||
82 | const CONDITION_NOT_FOUND_IN_DEFINITION = 'The condition "%s" was not found in the form definition. Please use the function `%s::hasCondition()` before.'; |
||
83 | |||
84 | const CONDITION_DOES_NOT_EXIST = 'The condition "%s" does not exist'; |
||
85 | |||
86 | const MIDDLEWARE_NOT_FOUND = 'The middleware "%s" was not found. Please use the function `%s::hasMiddleware()` before.'; |
||
87 | |||
88 | const STEP_ENTRY_NOT_FOUND = 'The step "%s" was not found. Please use the function `%s::hasEntry()` before.'; |
||
89 | |||
90 | const NEXT_STEPS_NOT_FOUND = 'The step definition for the step "%s" does not have next steps. Please use the function `%s::hasNextSteps()` before.'; |
||
91 | |||
92 | const PREVIOUS_DEFINITION_NOT_FOUND = 'The step definition for the step "%s" does not have a previous definition. Please use the function `%s::hasPreviousDefinition()` before.'; |
||
93 | |||
94 | const FORM_OBJECT_INSTANCE_NOT_FOUND = 'The form instance for the object of type "%s" was not found. Please take care of registering it before with "%s::registerFormInstance()".'; |
||
95 | |||
96 | /** |
||
97 | * @code 1472650209 |
||
98 | * |
||
99 | * @param string $identifier |
||
100 | * @param array $list |
||
101 | * @return self |
||
102 | */ |
||
103 | final public static function conditionNotFound($identifier, array $list) |
||
116 | |||
117 | /** |
||
118 | * @code 1493890438 |
||
119 | * |
||
120 | * @param string $identifier |
||
121 | * @param array $list |
||
122 | * @return self |
||
123 | */ |
||
124 | final public static function addConditionNotFound($identifier, array $list) |
||
137 | |||
138 | /** |
||
139 | * @code 1493890825 |
||
140 | * |
||
141 | * @param string $identifier |
||
142 | * @param array $list |
||
143 | * @return self |
||
144 | */ |
||
145 | final public static function instantiateConditionNotFound($identifier, array $list) |
||
158 | |||
159 | /** |
||
160 | * @code 1488482191 |
||
161 | * |
||
162 | * @param string $name |
||
163 | * @return self |
||
164 | */ |
||
165 | final public static function activationConditionNotFound($name) |
||
175 | |||
176 | /** |
||
177 | * @code 1489765133 |
||
178 | * |
||
179 | * @param string $name |
||
180 | * @return self |
||
181 | */ |
||
182 | final public static function configurationFieldNotFound($name) |
||
192 | |||
193 | /** |
||
194 | * @code 1487672276 |
||
195 | * |
||
196 | * @param string $name |
||
197 | * @return self |
||
198 | */ |
||
199 | final public static function validatorNotFound($name) |
||
209 | |||
210 | /** |
||
211 | * @code 1489753952 |
||
212 | * |
||
213 | * @param string $name |
||
214 | * @return self |
||
215 | */ |
||
216 | final public static function viewLayoutNotFound($name) |
||
226 | |||
227 | /** |
||
228 | * @code 1489757511 |
||
229 | * |
||
230 | * @param string $name |
||
231 | * @return self |
||
232 | */ |
||
233 | final public static function viewLayoutItemNotFound($name) |
||
243 | |||
244 | /** |
||
245 | * @code 1489754909 |
||
246 | * |
||
247 | * @param string $name |
||
248 | * @return self |
||
249 | */ |
||
250 | final public static function viewClassNotFound($name) |
||
260 | |||
261 | /** |
||
262 | * @code 1487672956 |
||
263 | * |
||
264 | * @param string $validationName |
||
265 | * @param string $fieldName |
||
266 | * @return self |
||
267 | */ |
||
268 | final public static function ajaxControllerValidationNotFoundForField($validationName, $fieldName) |
||
278 | |||
279 | /** |
||
280 | * @code 1487671603 |
||
281 | * |
||
282 | * @param string $fieldName |
||
283 | * @param FormObject $formObject |
||
284 | * @return self |
||
285 | */ |
||
286 | final public static function ajaxControllerFieldNotFound($fieldName, FormObject $formObject) |
||
296 | |||
297 | /** |
||
298 | * @code 1455272659 |
||
299 | * |
||
300 | * @param string $key |
||
301 | * @param AbstractValidator $validator |
||
302 | * @return self |
||
303 | */ |
||
304 | final public static function errorKeyNotFoundForValidator($key, AbstractValidator $validator) |
||
314 | |||
315 | /** |
||
316 | * @code 1487947224 |
||
317 | * |
||
318 | * @param string $fieldName |
||
319 | * @param FormObject $formObject |
||
320 | * @return self |
||
321 | */ |
||
322 | final public static function equalsToFieldValidatorFieldNotFound($fieldName, FormObject $formObject) |
||
332 | |||
333 | /** |
||
334 | * @code 1467623761 |
||
335 | * |
||
336 | * @param string $fieldName |
||
337 | * @return self |
||
338 | */ |
||
339 | final public static function classViewHelperFieldNotFound($fieldName) |
||
349 | |||
350 | /** |
||
351 | * @code 1467624152 |
||
352 | * |
||
353 | * @param string $fieldName |
||
354 | * @return self |
||
355 | */ |
||
356 | final public static function formatMessageViewHelperFieldNotFound($fieldName) |
||
366 | |||
367 | /** |
||
368 | * @code 1465243586 |
||
369 | * |
||
370 | * @param string $layoutName |
||
371 | * @return self |
||
372 | */ |
||
373 | final public static function fieldViewHelperLayoutNotFound($layoutName) |
||
383 | |||
384 | /** |
||
385 | * @code 1485867803 |
||
386 | * |
||
387 | * @param string $layoutName |
||
388 | * @param string $itemName |
||
389 | * @return self |
||
390 | */ |
||
391 | final public static function fieldViewHelperLayoutItemNotFound($layoutName, $itemName) |
||
401 | |||
402 | /** |
||
403 | * @code 1473084335 |
||
404 | * |
||
405 | * @param string $fieldName |
||
406 | * @param FormObject $formObject |
||
407 | * @return self |
||
408 | */ |
||
409 | final public static function formatMessageViewHelperFieldNotFoundInForm($fieldName, FormObject $formObject) |
||
419 | |||
420 | /** |
||
421 | * @code 1457441846 |
||
422 | * |
||
423 | * @param string $controllerObjectName |
||
424 | * @param string $actionName |
||
425 | * @param string $formName |
||
426 | * @return self |
||
427 | */ |
||
428 | final public static function controllerServiceActionFormArgumentMissing($controllerObjectName, $actionName, $formName) |
||
438 | |||
439 | /** |
||
440 | * @code 1488988452 |
||
441 | * |
||
442 | * @param string $name |
||
443 | * @return self |
||
444 | */ |
||
445 | final public static function slotClosureSlotNotFound($name) |
||
455 | |||
456 | /** |
||
457 | * @code 1489497046 |
||
458 | * |
||
459 | * @param string $name |
||
460 | * @return self |
||
461 | */ |
||
462 | final public static function slotArgumentsSlotNotFound($name) |
||
472 | |||
473 | /** |
||
474 | * @code 1490792697 |
||
475 | * |
||
476 | * @param string $name |
||
477 | * @return self |
||
478 | */ |
||
479 | final public static function argumentNotFound($name) |
||
489 | |||
490 | /** |
||
491 | * @code 1490799273 |
||
492 | * |
||
493 | * @param string $name |
||
494 | * @return self |
||
495 | */ |
||
496 | final public static function formRequestDataNotFound($name) |
||
506 | |||
507 | /** |
||
508 | * @code 1491293933 |
||
509 | * |
||
510 | * @param FormMetadata $metadata |
||
511 | * @return self |
||
512 | */ |
||
513 | final public static function persistenceSessionEntryNotFound(FormMetadata $metadata) |
||
523 | |||
524 | /** |
||
525 | * @code 1491814768 |
||
526 | * |
||
527 | * @param string $key |
||
528 | * @return self |
||
529 | */ |
||
530 | final public static function metadataNotFound($key) |
||
540 | |||
541 | /** |
||
542 | * @code 1491997168 |
||
543 | * |
||
544 | * @return self |
||
545 | */ |
||
546 | final public static function formConfigurationNotFound() |
||
556 | |||
557 | /** |
||
558 | * @code 1493881671 |
||
559 | * |
||
560 | * @param string $name |
||
561 | * @return self |
||
562 | */ |
||
563 | final public static function conditionNotFoundInDefinition($name) |
||
573 | |||
574 | /** |
||
575 | * @code 1491997309 |
||
576 | * |
||
577 | * @param string $name |
||
578 | * @return self |
||
579 | */ |
||
580 | final public static function middlewareNotFound($name) |
||
590 | |||
591 | /** |
||
592 | * @code 1492602754 |
||
593 | * |
||
594 | * @param string $name |
||
595 | * @return self |
||
596 | */ |
||
597 | final public static function stepEntryNotFound($name) |
||
607 | |||
608 | /** |
||
609 | * @code 1492603394 |
||
610 | * |
||
611 | * @param StepDefinition $stepDefinition |
||
612 | * @return EntryNotFoundException |
||
613 | */ |
||
614 | final public static function nextStepsNotFound(StepDefinition $stepDefinition) |
||
624 | |||
625 | /** |
||
626 | * @code 1492603656 |
||
627 | * |
||
628 | * @param StepDefinition $stepDefinition |
||
629 | * @return EntryNotFoundException |
||
630 | */ |
||
631 | final public static function previousDefinitionNotFound(StepDefinition $stepDefinition) |
||
641 | |||
642 | /** |
||
643 | * @code 1494514957 |
||
644 | * |
||
645 | * @param FormInterface $form |
||
646 | * @return self |
||
647 | */ |
||
648 | final public static function formObjectInstanceNotFound(FormInterface $form) |
||
658 | } |
||
659 |