1 | <?php |
||
33 | class EntryNotFoundException extends FormzException |
||
34 | { |
||
35 | const FIELD_NOT_FOUND = 'The field "%s" was not found in the form "%s" with class "%s".'; |
||
36 | |||
37 | const CONDITION_NOT_FOUND = 'Trying to access a condition which is not registered: "%s". Here is a list of all currently registered conditions: "%s".'; |
||
38 | |||
39 | const ACTIVATION_CONDITION_NOT_FOUND = 'No condition "%s" was found.'; |
||
40 | |||
41 | const CONFIGURATION_FIELD_NOT_FOUND = 'The field "%s" was not found. Please use the function `%s::hasField()` before.'; |
||
42 | |||
43 | const VALIDATION_NOT_FOUND = 'The validation "%s" was not found. Please use the function `%s::hasValidation()` before.'; |
||
44 | |||
45 | const VIEW_LAYOUT_NOT_FOUND = 'The layout "%s" was not found. Please use the function `%s::hasLayout()` before.'; |
||
46 | |||
47 | const VIEW_LAYOUT_ITEM_NOT_FOUND = 'The layout item "%s" was not found. Please use the function `%s::hasItem()` before.'; |
||
48 | |||
49 | const VIEW_CLASS_NOT_FOUND = 'The class "%s" was not found. Please use the function `%s::hasItem()` before.'; |
||
50 | |||
51 | const VALIDATION_NOT_FOUND_FOR_FIELD = 'The field "%s" does not have a rule "%s".'; |
||
52 | |||
53 | const ERROR_KEY_NOT_FOUND_FOR_VALIDATOR = 'The error key "%s" does not exist for the validator "%s".'; |
||
54 | |||
55 | 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.'; |
||
56 | |||
57 | const FIELD_VIEW_HELPER_LAYOUT_NOT_FOUND = 'The layout "%s" could not be found. Please check your TypoScript configuration.'; |
||
58 | |||
59 | const FIELD_VIEW_HELPER_LAYOUT_ITEM_NOT_FOUND = 'The layout "%s" does not have an item "%s".'; |
||
60 | |||
61 | 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.'; |
||
62 | |||
63 | const SLOT_NOT_FOUND = 'No slot "%s" was found.'; |
||
64 | |||
65 | const ARGUMENT_NOT_FOUND = 'Trying to get an argument that does not exist: "%s". Please use function `has()`.'; |
||
66 | |||
67 | const FORM_REQUEST_DATA_NOT_FOUND = 'The data "%s" was not found. Please use the function `%s::hasData()` before.'; |
||
68 | |||
69 | const PERSISTENCE_SESSION_ENTRY_NOT_FOUND = 'The form with identifier "%s" was not found in the session, please use the function `%s::has()` before.'; |
||
70 | |||
71 | const META_DATA_NOT_FOUND = 'The metadata "%s" was not found. Please use the function `%s::has()` before.'; |
||
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 MIDDLEWARE_NOT_FOUND = 'The middleware "%s" was not found. Please use the function `%s::hasMiddleware()` before.'; |
||
76 | |||
77 | const STEP_ITEM_NOT_FOUND = 'The step "%s" does not exist. Please use the function `%s::hasStep()` before.'; |
||
78 | |||
79 | /** |
||
80 | * @code 1472650209 |
||
81 | * |
||
82 | * @param string $name |
||
83 | * @param array $list |
||
84 | * @return self |
||
85 | */ |
||
86 | final public static function conditionNotFound($name, array $list) |
||
99 | |||
100 | /** |
||
101 | * @code 1488482191 |
||
102 | * |
||
103 | * @param string $name |
||
104 | * @return self |
||
105 | */ |
||
106 | final public static function activationConditionNotFound($name) |
||
116 | |||
117 | /** |
||
118 | * @code 1489765133 |
||
119 | * |
||
120 | * @param string $name |
||
121 | * @return self |
||
122 | */ |
||
123 | final public static function configurationFieldNotFound($name) |
||
133 | |||
134 | /** |
||
135 | * @code 1487672276 |
||
136 | * |
||
137 | * @param string $name |
||
138 | * @return self |
||
139 | */ |
||
140 | final public static function validationNotFound($name) |
||
150 | |||
151 | /** |
||
152 | * @code 1489753952 |
||
153 | * |
||
154 | * @param string $name |
||
155 | * @return self |
||
156 | */ |
||
157 | final public static function viewLayoutNotFound($name) |
||
167 | |||
168 | /** |
||
169 | * @code 1489757511 |
||
170 | * |
||
171 | * @param string $name |
||
172 | * @return self |
||
173 | */ |
||
174 | final public static function viewLayoutItemNotFound($name) |
||
184 | |||
185 | /** |
||
186 | * @code 1489754909 |
||
187 | * |
||
188 | * @param string $name |
||
189 | * @return self |
||
190 | */ |
||
191 | final public static function viewClassNotFound($name) |
||
201 | |||
202 | /** |
||
203 | * @code 1487672956 |
||
204 | * |
||
205 | * @param string $validationName |
||
206 | * @param string $fieldName |
||
207 | * @return self |
||
208 | */ |
||
209 | final public static function ajaxControllerValidationNotFoundForField($validationName, $fieldName) |
||
219 | |||
220 | /** |
||
221 | * @code 1487671603 |
||
222 | * |
||
223 | * @param string $fieldName |
||
224 | * @param FormObject $formObject |
||
225 | * @return self |
||
226 | */ |
||
227 | final public static function ajaxControllerFieldNotFound($fieldName, FormObject $formObject) |
||
237 | |||
238 | /** |
||
239 | * @code 1455272659 |
||
240 | * |
||
241 | * @param string $key |
||
242 | * @param AbstractValidator $validator |
||
243 | * @return self |
||
244 | */ |
||
245 | final public static function errorKeyNotFoundForValidator($key, AbstractValidator $validator) |
||
255 | |||
256 | /** |
||
257 | * @code 1487947224 |
||
258 | * |
||
259 | * @param string $fieldName |
||
260 | * @param FormObject $formObject |
||
261 | * @return self |
||
262 | */ |
||
263 | final public static function equalsToFieldValidatorFieldNotFound($fieldName, FormObject $formObject) |
||
273 | |||
274 | /** |
||
275 | * @code 1467623761 |
||
276 | * |
||
277 | * @param string $fieldName |
||
278 | * @return self |
||
279 | */ |
||
280 | final public static function classViewHelperFieldNotFound($fieldName) |
||
290 | |||
291 | /** |
||
292 | * @code 1467624152 |
||
293 | * |
||
294 | * @param string $fieldName |
||
295 | * @return self |
||
296 | */ |
||
297 | final public static function formatMessageViewHelperFieldNotFound($fieldName) |
||
307 | |||
308 | /** |
||
309 | * @code 1465243586 |
||
310 | * |
||
311 | * @param string $layoutName |
||
312 | * @return self |
||
313 | */ |
||
314 | final public static function fieldViewHelperLayoutNotFound($layoutName) |
||
324 | |||
325 | /** |
||
326 | * @code 1485867803 |
||
327 | * |
||
328 | * @param string $layoutName |
||
329 | * @param string $itemName |
||
330 | * @return self |
||
331 | */ |
||
332 | final public static function fieldViewHelperLayoutItemNotFound($layoutName, $itemName) |
||
342 | |||
343 | /** |
||
344 | * @code 1473084335 |
||
345 | * |
||
346 | * @param string $fieldName |
||
347 | * @param FormObject $formObject |
||
348 | * @return self |
||
349 | */ |
||
350 | final public static function formatMessageViewHelperFieldNotFoundInForm($fieldName, FormObject $formObject) |
||
360 | |||
361 | /** |
||
362 | * @code 1457441846 |
||
363 | * |
||
364 | * @param string $controllerObjectName |
||
365 | * @param string $actionName |
||
366 | * @param string $formName |
||
367 | * @return self |
||
368 | */ |
||
369 | final public static function controllerServiceActionFormArgumentMissing($controllerObjectName, $actionName, $formName) |
||
379 | |||
380 | /** |
||
381 | * @code 1488988452 |
||
382 | * |
||
383 | * @param string $name |
||
384 | * @return self |
||
385 | */ |
||
386 | final public static function slotClosureSlotNotFound($name) |
||
396 | |||
397 | /** |
||
398 | * @code 1489497046 |
||
399 | * |
||
400 | * @param string $name |
||
401 | * @return self |
||
402 | */ |
||
403 | final public static function slotArgumentsSlotNotFound($name) |
||
413 | |||
414 | /** |
||
415 | * @code 1490792697 |
||
416 | * |
||
417 | * @param string $name |
||
418 | * @return self |
||
419 | */ |
||
420 | final public static function argumentNotFound($name) |
||
430 | |||
431 | /** |
||
432 | * @code 1490799273 |
||
433 | * |
||
434 | * @param string $name |
||
435 | * @return self |
||
436 | */ |
||
437 | final public static function formRequestDataNotFound($name) |
||
447 | |||
448 | /** |
||
449 | * @code 1491293933 |
||
450 | * |
||
451 | * @param FormMetadata $metadata |
||
452 | * @return self |
||
453 | */ |
||
454 | final public static function persistenceSessionEntryNotFound(FormMetadata $metadata) |
||
464 | |||
465 | /** |
||
466 | * @code 1491814768 |
||
467 | * |
||
468 | * @param string $key |
||
469 | * @return self |
||
470 | */ |
||
471 | final public static function metadataNotFound($key) |
||
481 | |||
482 | /** |
||
483 | * @code 1491997168 |
||
484 | * |
||
485 | * @return self |
||
486 | */ |
||
487 | final public static function formConfigurationNotFound() |
||
497 | |||
498 | /** |
||
499 | * @code 1491997309 |
||
500 | * |
||
501 | * @param string $name |
||
502 | * @return self |
||
503 | */ |
||
504 | final public static function middlewareNotFound($name) |
||
514 | |||
515 | /** |
||
516 | * @code 1491997577 |
||
517 | * |
||
518 | * @param string $name |
||
519 | * @return self |
||
520 | */ |
||
521 | final public static function stepItemNotFound($name) |
||
531 | } |
||
532 |