1 | <?php |
||
31 | class EntryNotFoundException extends FormzException |
||
32 | { |
||
33 | const FIELD_NOT_FOUND = 'The field "%s" was not found in the form "%s" with class "%s".'; |
||
34 | |||
35 | const CONDITION_NOT_FOUND = 'Trying to access a condition which is not registered: "%s". Here is a list of all currently registered conditions: "%s".'; |
||
36 | |||
37 | const FORM_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".'; |
||
38 | |||
39 | const ACTIVATION_ADD_CONDITION_NOT_FOUND = 'Trying to add a condition "%s" which is not registered to the activation. Here is a list of all currently registered conditions: "%s".'; |
||
40 | |||
41 | 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".'; |
||
42 | |||
43 | const ACTIVATION_CONDITION_NOT_FOUND = 'No condition "%s" was found.'; |
||
44 | |||
45 | const CONFIGURATION_FIELD_NOT_FOUND = 'The field "%s" was not found. Please use the function `%s::hasField()` before.'; |
||
46 | |||
47 | const VALIDATOR_NOT_FOUND = 'The validation "%s" was not found. Please use the function `%s::hasValidator()` before.'; |
||
48 | |||
49 | const BEHAVIOUR_NOT_FOUND = 'The behaviour "%s" was not found. Please use the function `%s::hasBehaviour()` before.'; |
||
50 | |||
51 | const MESSAGE_NOT_FOUND = 'The message "%s" was not found. Please use the function `%s::hasMessage()` before.'; |
||
52 | |||
53 | const VIEW_LAYOUT_NOT_FOUND = 'The layout "%s" was not found. Please use the function `%s::hasLayout()` before.'; |
||
54 | |||
55 | const VIEW_LAYOUT_ITEM_NOT_FOUND = 'The layout item "%s" was not found. Please use the function `%s::hasItem()` before.'; |
||
56 | |||
57 | const VIEW_CLASS_NOT_FOUND = 'The class "%s" was not found. Please use the function `%s::hasItem()` before.'; |
||
58 | |||
59 | const VALIDATION_NOT_FOUND_FOR_FIELD = 'The field "%s" does not have a rule "%s".'; |
||
60 | |||
61 | const ERROR_KEY_NOT_FOUND_FOR_VALIDATOR = 'The error key "%s" does not exist for the validator "%s".'; |
||
62 | |||
63 | 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.'; |
||
64 | |||
65 | const FIELD_VIEW_HELPER_LAYOUT_NOT_FOUND = 'The layout "%s" could not be found. Please check your TypoScript configuration.'; |
||
66 | |||
67 | const FIELD_VIEW_HELPER_LAYOUT_ITEM_NOT_FOUND = 'The layout "%s" does not have an item "%s".'; |
||
68 | |||
69 | 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.'; |
||
70 | |||
71 | const SLOT_NOT_FOUND = 'No slot "%s" was found.'; |
||
72 | |||
73 | const FORM_CONFIGURATION_NOT_FOUND = 'The configuration for form of class "%s" was not found. Please use the function `%s::hasForm()` before.'; |
||
74 | |||
75 | const CONDITION_NOT_FOUND_IN_DEFINITION = 'The condition "%s" was not found in the form definition. Please use the function `%s::hasCondition()` before.'; |
||
76 | |||
77 | const CONDITION_DOES_NOT_EXIST = 'The condition "%s" does not exist'; |
||
78 | |||
79 | 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()".'; |
||
80 | |||
81 | /** |
||
82 | * @code 1472650209 |
||
83 | * |
||
84 | * @param string $identifier |
||
85 | * @param array $list |
||
86 | * @return self |
||
87 | */ |
||
88 | final public static function conditionNotFound($identifier, array $list) |
||
101 | |||
102 | /** |
||
103 | * @code 1493890438 |
||
104 | * |
||
105 | * @param string $identifier |
||
106 | * @param array $list |
||
107 | * @return self |
||
108 | */ |
||
109 | final public static function formAddConditionNotFound($identifier, array $list) |
||
122 | |||
123 | /** |
||
124 | * @code 1494329341 |
||
125 | * |
||
126 | * @param string $identifier |
||
127 | * @param array $list |
||
128 | * @return self |
||
129 | */ |
||
130 | final public static function activationAddConditionNotFound($identifier, array $list) |
||
143 | |||
144 | /** |
||
145 | * @code 1493890825 |
||
146 | * |
||
147 | * @param string $identifier |
||
148 | * @param array $list |
||
149 | * @return self |
||
150 | */ |
||
151 | final public static function instantiateConditionNotFound($identifier, array $list) |
||
164 | |||
165 | /** |
||
166 | * @code 1488482191 |
||
167 | * |
||
168 | * @param string $name |
||
169 | * @return self |
||
170 | */ |
||
171 | final public static function activationConditionNotFound($name) |
||
181 | |||
182 | /** |
||
183 | * @code 1489765133 |
||
184 | * |
||
185 | * @param string $name |
||
186 | * @return self |
||
187 | */ |
||
188 | final public static function configurationFieldNotFound($name) |
||
198 | |||
199 | /** |
||
200 | * @code 1487672276 |
||
201 | * |
||
202 | * @param string $name |
||
203 | * @return self |
||
204 | */ |
||
205 | final public static function validatorNotFound($name) |
||
215 | |||
216 | /** |
||
217 | * @code 1494685753 |
||
218 | * |
||
219 | * @param string $name |
||
220 | * @return self |
||
221 | */ |
||
222 | final public static function behaviourNotFound($name) |
||
232 | |||
233 | /** |
||
234 | * @code 1494694474 |
||
235 | * |
||
236 | * @param string $name |
||
237 | * @return self |
||
238 | */ |
||
239 | final public static function messageNotFound($name) |
||
249 | |||
250 | /** |
||
251 | * @code 1489753952 |
||
252 | * |
||
253 | * @param string $name |
||
254 | * @return self |
||
255 | */ |
||
256 | final public static function viewLayoutNotFound($name) |
||
266 | |||
267 | /** |
||
268 | * @code 1489757511 |
||
269 | * |
||
270 | * @param string $name |
||
271 | * @return self |
||
272 | */ |
||
273 | final public static function viewLayoutItemNotFound($name) |
||
283 | |||
284 | /** |
||
285 | * @code 1489754909 |
||
286 | * |
||
287 | * @param string $name |
||
288 | * @return self |
||
289 | */ |
||
290 | final public static function viewClassNotFound($name) |
||
300 | |||
301 | /** |
||
302 | * @code 1487672956 |
||
303 | * |
||
304 | * @param string $validationName |
||
305 | * @param string $fieldName |
||
306 | * @return self |
||
307 | */ |
||
308 | final public static function ajaxControllerValidationNotFoundForField($validationName, $fieldName) |
||
318 | |||
319 | /** |
||
320 | * @code 1487671603 |
||
321 | * |
||
322 | * @param string $fieldName |
||
323 | * @param FormObject $formObject |
||
324 | * @return self |
||
325 | */ |
||
326 | final public static function ajaxControllerFieldNotFound($fieldName, FormObject $formObject) |
||
336 | |||
337 | /** |
||
338 | * @code 1455272659 |
||
339 | * |
||
340 | * @param string $key |
||
341 | * @param AbstractValidator $validator |
||
342 | * @return self |
||
343 | */ |
||
344 | final public static function errorKeyNotFoundForValidator($key, AbstractValidator $validator) |
||
354 | |||
355 | /** |
||
356 | * @code 1487947224 |
||
357 | * |
||
358 | * @param string $fieldName |
||
359 | * @param FormObject $formObject |
||
360 | * @return self |
||
361 | */ |
||
362 | final public static function equalsToFieldValidatorFieldNotFound($fieldName, FormObject $formObject) |
||
372 | |||
373 | /** |
||
374 | * @code 1467623761 |
||
375 | * |
||
376 | * @param string $fieldName |
||
377 | * @return self |
||
378 | */ |
||
379 | final public static function classViewHelperFieldNotFound($fieldName) |
||
389 | |||
390 | /** |
||
391 | * @code 1467624152 |
||
392 | * |
||
393 | * @param string $fieldName |
||
394 | * @return self |
||
395 | */ |
||
396 | final public static function formatMessageViewHelperFieldNotFound($fieldName) |
||
406 | |||
407 | /** |
||
408 | * @code 1465243586 |
||
409 | * |
||
410 | * @param string $layoutName |
||
411 | * @return self |
||
412 | */ |
||
413 | final public static function fieldViewHelperLayoutNotFound($layoutName) |
||
423 | |||
424 | /** |
||
425 | * @code 1485867803 |
||
426 | * |
||
427 | * @param string $layoutName |
||
428 | * @param string $itemName |
||
429 | * @return self |
||
430 | */ |
||
431 | final public static function fieldViewHelperLayoutItemNotFound($layoutName, $itemName) |
||
441 | |||
442 | /** |
||
443 | * @code 1473084335 |
||
444 | * |
||
445 | * @param string $fieldName |
||
446 | * @param FormObject $formObject |
||
447 | * @return self |
||
448 | */ |
||
449 | final public static function formatMessageViewHelperFieldNotFoundInForm($fieldName, FormObject $formObject) |
||
459 | |||
460 | /** |
||
461 | * @code 1457441846 |
||
462 | * |
||
463 | * @param string $controllerObjectName |
||
464 | * @param string $actionName |
||
465 | * @param string $formName |
||
466 | * @return self |
||
467 | */ |
||
468 | final public static function controllerServiceActionFormArgumentMissing($controllerObjectName, $actionName, $formName) |
||
478 | |||
479 | /** |
||
480 | * @code 1488988452 |
||
481 | * |
||
482 | * @param string $name |
||
483 | * @return self |
||
484 | */ |
||
485 | final public static function slotClosureSlotNotFound($name) |
||
495 | |||
496 | /** |
||
497 | * @code 1489497046 |
||
498 | * |
||
499 | * @param string $name |
||
500 | * @return self |
||
501 | */ |
||
502 | final public static function slotArgumentsSlotNotFound($name) |
||
512 | |||
513 | /** |
||
514 | * @code 1491997168 |
||
515 | * |
||
516 | * @return self |
||
517 | */ |
||
518 | final public static function formConfigurationNotFound() |
||
528 | |||
529 | /** |
||
530 | * @code 1493881671 |
||
531 | * |
||
532 | * @param string $name |
||
533 | * @return self |
||
534 | */ |
||
535 | final public static function conditionNotFoundInDefinition($name) |
||
545 | |||
546 | /** |
||
547 | * @code 1494514957 |
||
548 | * |
||
549 | * @param FormInterface $form |
||
550 | * @return self |
||
551 | */ |
||
552 | final public static function formObjectInstanceNotFound(FormInterface $form) |
||
562 | } |
||
563 |