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 VIEW_LAYOUT_NOT_FOUND = 'The layout "%s" was not found. Please use the function `%s::hasLayout()` before.'; |
||
52 | |||
53 | const VIEW_LAYOUT_ITEM_NOT_FOUND = 'The layout item "%s" was not found. Please use the function `%s::hasItem()` before.'; |
||
54 | |||
55 | const VIEW_CLASS_NOT_FOUND = 'The class "%s" was not found. Please use the function `%s::hasItem()` before.'; |
||
56 | |||
57 | const VALIDATION_NOT_FOUND_FOR_FIELD = 'The field "%s" does not have a rule "%s".'; |
||
58 | |||
59 | const ERROR_KEY_NOT_FOUND_FOR_VALIDATOR = 'The error key "%s" does not exist for the validator "%s".'; |
||
60 | |||
61 | 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.'; |
||
62 | |||
63 | const FIELD_VIEW_HELPER_LAYOUT_NOT_FOUND = 'The layout "%s" could not be found. Please check your TypoScript configuration.'; |
||
64 | |||
65 | const FIELD_VIEW_HELPER_LAYOUT_ITEM_NOT_FOUND = 'The layout "%s" does not have an item "%s".'; |
||
66 | |||
67 | 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.'; |
||
68 | |||
69 | const SLOT_NOT_FOUND = 'No slot "%s" was found.'; |
||
70 | |||
71 | const FORM_CONFIGURATION_NOT_FOUND = 'The configuration for form of class "%s" was not found. Please use the function `%s::hasForm()` before.'; |
||
72 | |||
73 | const CONDITION_NOT_FOUND_IN_DEFINITION = 'The condition "%s" was not found in the form definition. Please use the function `%s::hasCondition()` before.'; |
||
74 | |||
75 | const CONDITION_DOES_NOT_EXIST = 'The condition "%s" does not exist'; |
||
76 | |||
77 | 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()".'; |
||
78 | |||
79 | /** |
||
80 | * @code 1472650209 |
||
81 | * |
||
82 | * @param string $identifier |
||
83 | * @param array $list |
||
84 | * @return self |
||
85 | */ |
||
86 | final public static function conditionNotFound($identifier, array $list) |
||
99 | |||
100 | /** |
||
101 | * @code 1493890438 |
||
102 | * |
||
103 | * @param string $identifier |
||
104 | * @param array $list |
||
105 | * @return self |
||
106 | */ |
||
107 | final public static function formAddConditionNotFound($identifier, array $list) |
||
120 | |||
121 | /** |
||
122 | * @code 1494329341 |
||
123 | * |
||
124 | * @param string $identifier |
||
125 | * @param array $list |
||
126 | * @return self |
||
127 | */ |
||
128 | final public static function activationAddConditionNotFound($identifier, array $list) |
||
141 | |||
142 | /** |
||
143 | * @code 1493890825 |
||
144 | * |
||
145 | * @param string $identifier |
||
146 | * @param array $list |
||
147 | * @return self |
||
148 | */ |
||
149 | final public static function instantiateConditionNotFound($identifier, array $list) |
||
162 | |||
163 | /** |
||
164 | * @code 1488482191 |
||
165 | * |
||
166 | * @param string $name |
||
167 | * @return self |
||
168 | */ |
||
169 | final public static function activationConditionNotFound($name) |
||
179 | |||
180 | /** |
||
181 | * @code 1489765133 |
||
182 | * |
||
183 | * @param string $name |
||
184 | * @return self |
||
185 | */ |
||
186 | final public static function configurationFieldNotFound($name) |
||
196 | |||
197 | /** |
||
198 | * @code 1487672276 |
||
199 | * |
||
200 | * @param string $name |
||
201 | * @return self |
||
202 | */ |
||
203 | final public static function validatorNotFound($name) |
||
213 | |||
214 | /** |
||
215 | * @code 1494685753 |
||
216 | * |
||
217 | * @param string $name |
||
218 | * @return self |
||
219 | */ |
||
220 | final public static function behaviourNotFound($name) |
||
230 | |||
231 | /** |
||
232 | * @code 1489753952 |
||
233 | * |
||
234 | * @param string $name |
||
235 | * @return self |
||
236 | */ |
||
237 | final public static function viewLayoutNotFound($name) |
||
247 | |||
248 | /** |
||
249 | * @code 1489757511 |
||
250 | * |
||
251 | * @param string $name |
||
252 | * @return self |
||
253 | */ |
||
254 | final public static function viewLayoutItemNotFound($name) |
||
264 | |||
265 | /** |
||
266 | * @code 1489754909 |
||
267 | * |
||
268 | * @param string $name |
||
269 | * @return self |
||
270 | */ |
||
271 | final public static function viewClassNotFound($name) |
||
281 | |||
282 | /** |
||
283 | * @code 1487672956 |
||
284 | * |
||
285 | * @param string $validationName |
||
286 | * @param string $fieldName |
||
287 | * @return self |
||
288 | */ |
||
289 | final public static function ajaxControllerValidationNotFoundForField($validationName, $fieldName) |
||
299 | |||
300 | /** |
||
301 | * @code 1487671603 |
||
302 | * |
||
303 | * @param string $fieldName |
||
304 | * @param FormObject $formObject |
||
305 | * @return self |
||
306 | */ |
||
307 | final public static function ajaxControllerFieldNotFound($fieldName, FormObject $formObject) |
||
317 | |||
318 | /** |
||
319 | * @code 1455272659 |
||
320 | * |
||
321 | * @param string $key |
||
322 | * @param AbstractValidator $validator |
||
323 | * @return self |
||
324 | */ |
||
325 | final public static function errorKeyNotFoundForValidator($key, AbstractValidator $validator) |
||
335 | |||
336 | /** |
||
337 | * @code 1487947224 |
||
338 | * |
||
339 | * @param string $fieldName |
||
340 | * @param FormObject $formObject |
||
341 | * @return self |
||
342 | */ |
||
343 | final public static function equalsToFieldValidatorFieldNotFound($fieldName, FormObject $formObject) |
||
353 | |||
354 | /** |
||
355 | * @code 1467623761 |
||
356 | * |
||
357 | * @param string $fieldName |
||
358 | * @return self |
||
359 | */ |
||
360 | final public static function classViewHelperFieldNotFound($fieldName) |
||
370 | |||
371 | /** |
||
372 | * @code 1467624152 |
||
373 | * |
||
374 | * @param string $fieldName |
||
375 | * @return self |
||
376 | */ |
||
377 | final public static function formatMessageViewHelperFieldNotFound($fieldName) |
||
387 | |||
388 | /** |
||
389 | * @code 1465243586 |
||
390 | * |
||
391 | * @param string $layoutName |
||
392 | * @return self |
||
393 | */ |
||
394 | final public static function fieldViewHelperLayoutNotFound($layoutName) |
||
404 | |||
405 | /** |
||
406 | * @code 1485867803 |
||
407 | * |
||
408 | * @param string $layoutName |
||
409 | * @param string $itemName |
||
410 | * @return self |
||
411 | */ |
||
412 | final public static function fieldViewHelperLayoutItemNotFound($layoutName, $itemName) |
||
422 | |||
423 | /** |
||
424 | * @code 1473084335 |
||
425 | * |
||
426 | * @param string $fieldName |
||
427 | * @param FormObject $formObject |
||
428 | * @return self |
||
429 | */ |
||
430 | final public static function formatMessageViewHelperFieldNotFoundInForm($fieldName, FormObject $formObject) |
||
440 | |||
441 | /** |
||
442 | * @code 1457441846 |
||
443 | * |
||
444 | * @param string $controllerObjectName |
||
445 | * @param string $actionName |
||
446 | * @param string $formName |
||
447 | * @return self |
||
448 | */ |
||
449 | final public static function controllerServiceActionFormArgumentMissing($controllerObjectName, $actionName, $formName) |
||
459 | |||
460 | /** |
||
461 | * @code 1488988452 |
||
462 | * |
||
463 | * @param string $name |
||
464 | * @return self |
||
465 | */ |
||
466 | final public static function slotClosureSlotNotFound($name) |
||
476 | |||
477 | /** |
||
478 | * @code 1489497046 |
||
479 | * |
||
480 | * @param string $name |
||
481 | * @return self |
||
482 | */ |
||
483 | final public static function slotArgumentsSlotNotFound($name) |
||
493 | |||
494 | /** |
||
495 | * @code 1491997168 |
||
496 | * |
||
497 | * @return self |
||
498 | */ |
||
499 | final public static function formConfigurationNotFound() |
||
509 | |||
510 | /** |
||
511 | * @code 1493881671 |
||
512 | * |
||
513 | * @param string $name |
||
514 | * @return self |
||
515 | */ |
||
516 | final public static function conditionNotFoundInDefinition($name) |
||
526 | |||
527 | /** |
||
528 | * @code 1494514957 |
||
529 | * |
||
530 | * @param FormInterface $form |
||
531 | * @return self |
||
532 | */ |
||
533 | final public static function formObjectInstanceNotFound(FormInterface $form) |
||
543 | } |
||
544 |