1 | <?php |
||
28 | class EntryNotFoundException extends FormzException |
||
29 | { |
||
30 | const FIELD_NOT_FOUND = 'The field "%s" was not found in the form "%s" with class "%s".'; |
||
31 | |||
32 | const CONDITION_NOT_FOUND = 'Trying to access a condition which is not registered: "%s". Here is a list of all currently registered conditions: "%s".'; |
||
33 | |||
34 | 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".'; |
||
35 | |||
36 | 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".'; |
||
37 | |||
38 | const ACTIVATION_CONDITION_NOT_FOUND = 'No condition "%s" was found.'; |
||
39 | |||
40 | const CONFIGURATION_FIELD_NOT_FOUND = 'The field "%s" was not found. Please use the function `%s::hasField()` before.'; |
||
41 | |||
42 | const VALIDATOR_NOT_FOUND = 'The validation "%s" was not found. Please use the function `%s::hasValidator()` before.'; |
||
43 | |||
44 | const VIEW_LAYOUT_NOT_FOUND = 'The layout "%s" was not found. Please use the function `%s::hasLayout()` before.'; |
||
45 | |||
46 | const VIEW_LAYOUT_ITEM_NOT_FOUND = 'The layout item "%s" was not found. Please use the function `%s::hasItem()` before.'; |
||
47 | |||
48 | const VIEW_CLASS_NOT_FOUND = 'The class "%s" was not found. Please use the function `%s::hasItem()` before.'; |
||
49 | |||
50 | const VALIDATION_NOT_FOUND_FOR_FIELD = 'The field "%s" does not have a rule "%s".'; |
||
51 | |||
52 | const ERROR_KEY_NOT_FOUND_FOR_VALIDATOR = 'The error key "%s" does not exist for the validator "%s".'; |
||
53 | |||
54 | 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.'; |
||
55 | |||
56 | const FIELD_VIEW_HELPER_LAYOUT_NOT_FOUND = 'The layout "%s" could not be found. Please check your TypoScript configuration.'; |
||
57 | |||
58 | const FIELD_VIEW_HELPER_LAYOUT_ITEM_NOT_FOUND = 'The layout "%s" does not have an item "%s".'; |
||
59 | |||
60 | 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.'; |
||
61 | |||
62 | const SLOT_NOT_FOUND = 'No slot "%s" was found.'; |
||
63 | |||
64 | const FORM_CONFIGURATION_NOT_FOUND = 'The configuration for form of class "%s" was not found. Please use the function `%s::hasForm()` before.'; |
||
65 | |||
66 | const CONDITION_NOT_FOUND_IN_DEFINITION = 'The condition "%s" was not found in the form definition. Please use the function `%s::hasCondition()` before.'; |
||
67 | |||
68 | const CONDITION_DOES_NOT_EXIST = 'The condition "%s" does not exist'; |
||
69 | |||
70 | /** |
||
71 | * @code 1472650209 |
||
72 | * |
||
73 | * @param string $identifier |
||
74 | * @param array $list |
||
75 | * @return self |
||
76 | */ |
||
77 | final public static function conditionNotFound($identifier, array $list) |
||
90 | |||
91 | /** |
||
92 | * @code 1493890438 |
||
93 | * |
||
94 | * @param string $identifier |
||
95 | * @param array $list |
||
96 | * @return self |
||
97 | */ |
||
98 | final public static function addConditionNotFound($identifier, array $list) |
||
111 | |||
112 | /** |
||
113 | * @code 1493890825 |
||
114 | * |
||
115 | * @param string $identifier |
||
116 | * @param array $list |
||
117 | * @return self |
||
118 | */ |
||
119 | final public static function instantiateConditionNotFound($identifier, array $list) |
||
132 | |||
133 | /** |
||
134 | * @code 1488482191 |
||
135 | * |
||
136 | * @param string $name |
||
137 | * @return self |
||
138 | */ |
||
139 | final public static function activationConditionNotFound($name) |
||
149 | |||
150 | /** |
||
151 | * @code 1489765133 |
||
152 | * |
||
153 | * @param string $name |
||
154 | * @return self |
||
155 | */ |
||
156 | final public static function configurationFieldNotFound($name) |
||
166 | |||
167 | /** |
||
168 | * @code 1487672276 |
||
169 | * |
||
170 | * @param string $name |
||
171 | * @return self |
||
172 | */ |
||
173 | final public static function validatorNotFound($name) |
||
183 | |||
184 | /** |
||
185 | * @code 1489753952 |
||
186 | * |
||
187 | * @param string $name |
||
188 | * @return self |
||
189 | */ |
||
190 | final public static function viewLayoutNotFound($name) |
||
200 | |||
201 | /** |
||
202 | * @code 1489757511 |
||
203 | * |
||
204 | * @param string $name |
||
205 | * @return self |
||
206 | */ |
||
207 | final public static function viewLayoutItemNotFound($name) |
||
217 | |||
218 | /** |
||
219 | * @code 1489754909 |
||
220 | * |
||
221 | * @param string $name |
||
222 | * @return self |
||
223 | */ |
||
224 | final public static function viewClassNotFound($name) |
||
234 | |||
235 | /** |
||
236 | * @code 1487672956 |
||
237 | * |
||
238 | * @param string $validationName |
||
239 | * @param string $fieldName |
||
240 | * @return self |
||
241 | */ |
||
242 | final public static function ajaxControllerValidationNotFoundForField($validationName, $fieldName) |
||
252 | |||
253 | /** |
||
254 | * @code 1487671603 |
||
255 | * |
||
256 | * @param string $fieldName |
||
257 | * @param FormObject $formObject |
||
258 | * @return self |
||
259 | */ |
||
260 | final public static function ajaxControllerFieldNotFound($fieldName, FormObject $formObject) |
||
270 | |||
271 | /** |
||
272 | * @code 1455272659 |
||
273 | * |
||
274 | * @param string $key |
||
275 | * @param AbstractValidator $validator |
||
276 | * @return self |
||
277 | */ |
||
278 | final public static function errorKeyNotFoundForValidator($key, AbstractValidator $validator) |
||
288 | |||
289 | /** |
||
290 | * @code 1487947224 |
||
291 | * |
||
292 | * @param string $fieldName |
||
293 | * @param FormObject $formObject |
||
294 | * @return self |
||
295 | */ |
||
296 | final public static function equalsToFieldValidatorFieldNotFound($fieldName, FormObject $formObject) |
||
306 | |||
307 | /** |
||
308 | * @code 1467623761 |
||
309 | * |
||
310 | * @param string $fieldName |
||
311 | * @return self |
||
312 | */ |
||
313 | final public static function classViewHelperFieldNotFound($fieldName) |
||
323 | |||
324 | /** |
||
325 | * @code 1467624152 |
||
326 | * |
||
327 | * @param string $fieldName |
||
328 | * @return self |
||
329 | */ |
||
330 | final public static function formatMessageViewHelperFieldNotFound($fieldName) |
||
340 | |||
341 | /** |
||
342 | * @code 1465243586 |
||
343 | * |
||
344 | * @param string $layoutName |
||
345 | * @return self |
||
346 | */ |
||
347 | final public static function fieldViewHelperLayoutNotFound($layoutName) |
||
357 | |||
358 | /** |
||
359 | * @code 1485867803 |
||
360 | * |
||
361 | * @param string $layoutName |
||
362 | * @param string $itemName |
||
363 | * @return self |
||
364 | */ |
||
365 | final public static function fieldViewHelperLayoutItemNotFound($layoutName, $itemName) |
||
375 | |||
376 | /** |
||
377 | * @code 1473084335 |
||
378 | * |
||
379 | * @param string $fieldName |
||
380 | * @param FormObject $formObject |
||
381 | * @return self |
||
382 | */ |
||
383 | final public static function formatMessageViewHelperFieldNotFoundInForm($fieldName, FormObject $formObject) |
||
393 | |||
394 | /** |
||
395 | * @code 1457441846 |
||
396 | * |
||
397 | * @param string $controllerObjectName |
||
398 | * @param string $actionName |
||
399 | * @param string $formName |
||
400 | * @return self |
||
401 | */ |
||
402 | final public static function controllerServiceActionFormArgumentMissing($controllerObjectName, $actionName, $formName) |
||
412 | |||
413 | /** |
||
414 | * @code 1488988452 |
||
415 | * |
||
416 | * @param string $name |
||
417 | * @return self |
||
418 | */ |
||
419 | final public static function slotClosureSlotNotFound($name) |
||
429 | |||
430 | /** |
||
431 | * @code 1489497046 |
||
432 | * |
||
433 | * @param string $name |
||
434 | * @return self |
||
435 | */ |
||
436 | final public static function slotArgumentsSlotNotFound($name) |
||
446 | |||
447 | /** |
||
448 | * @code 1491997168 |
||
449 | * |
||
450 | * @return self |
||
451 | */ |
||
452 | final public static function formConfigurationNotFound() |
||
462 | |||
463 | /** |
||
464 | * @code 1493881671 |
||
465 | * |
||
466 | * @param string $name |
||
467 | * @return self |
||
468 | */ |
||
469 | final public static function conditionNotFoundInDefinition($name) |
||
479 | } |
||
480 |