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 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".'; |
||
35 | |||
36 | 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".'; |
||
37 | |||
38 | 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".'; |
||
39 | |||
40 | const ACTIVATION_CONDITION_NOT_FOUND = 'No condition "%s" was found.'; |
||
41 | |||
42 | const CONFIGURATION_FIELD_NOT_FOUND = 'The field "%s" was not found. Please use the function `%s::hasField()` before.'; |
||
43 | |||
44 | const VALIDATOR_NOT_FOUND = 'The validation "%s" was not found. Please use the function `%s::hasValidator()` before.'; |
||
45 | |||
46 | const VIEW_LAYOUT_NOT_FOUND = 'The layout "%s" was not found. Please use the function `%s::hasLayout()` before.'; |
||
47 | |||
48 | const VIEW_LAYOUT_ITEM_NOT_FOUND = 'The layout item "%s" was not found. Please use the function `%s::hasItem()` before.'; |
||
49 | |||
50 | const VIEW_CLASS_NOT_FOUND = 'The class "%s" was not found. Please use the function `%s::hasItem()` before.'; |
||
51 | |||
52 | const VALIDATION_NOT_FOUND_FOR_FIELD = 'The field "%s" does not have a rule "%s".'; |
||
53 | |||
54 | const ERROR_KEY_NOT_FOUND_FOR_VALIDATOR = 'The error key "%s" does not exist for the validator "%s".'; |
||
55 | |||
56 | 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.'; |
||
57 | |||
58 | const FIELD_VIEW_HELPER_LAYOUT_NOT_FOUND = 'The layout "%s" could not be found. Please check your TypoScript configuration.'; |
||
59 | |||
60 | const FIELD_VIEW_HELPER_LAYOUT_ITEM_NOT_FOUND = 'The layout "%s" does not have an item "%s".'; |
||
61 | |||
62 | 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.'; |
||
63 | |||
64 | const SLOT_NOT_FOUND = 'No slot "%s" was found.'; |
||
65 | |||
66 | const FORM_CONFIGURATION_NOT_FOUND = 'The configuration for form of class "%s" was not found. Please use the function `%s::hasForm()` before.'; |
||
67 | |||
68 | const CONDITION_NOT_FOUND_IN_DEFINITION = 'The condition "%s" was not found in the form definition. Please use the function `%s::hasCondition()` before.'; |
||
69 | |||
70 | const CONDITION_DOES_NOT_EXIST = 'The condition "%s" does not exist'; |
||
71 | |||
72 | /** |
||
73 | * @code 1472650209 |
||
74 | * |
||
75 | * @param string $identifier |
||
76 | * @param array $list |
||
77 | * @return self |
||
78 | */ |
||
79 | final public static function conditionNotFound($identifier, array $list) |
||
92 | |||
93 | /** |
||
94 | * @code 1493890438 |
||
95 | * |
||
96 | * @param string $identifier |
||
97 | * @param array $list |
||
98 | * @return self |
||
99 | */ |
||
100 | final public static function formAddConditionNotFound($identifier, array $list) |
||
113 | |||
114 | /** |
||
115 | * @code 1494329341 |
||
116 | * |
||
117 | * @param string $identifier |
||
118 | * @param array $list |
||
119 | * @return self |
||
120 | */ |
||
121 | final public static function activationAddConditionNotFound($identifier, array $list) |
||
134 | |||
135 | /** |
||
136 | * @code 1493890825 |
||
137 | * |
||
138 | * @param string $identifier |
||
139 | * @param array $list |
||
140 | * @return self |
||
141 | */ |
||
142 | final public static function instantiateConditionNotFound($identifier, array $list) |
||
155 | |||
156 | /** |
||
157 | * @code 1488482191 |
||
158 | * |
||
159 | * @param string $name |
||
160 | * @return self |
||
161 | */ |
||
162 | final public static function activationConditionNotFound($name) |
||
172 | |||
173 | /** |
||
174 | * @code 1489765133 |
||
175 | * |
||
176 | * @param string $name |
||
177 | * @return self |
||
178 | */ |
||
179 | final public static function configurationFieldNotFound($name) |
||
189 | |||
190 | /** |
||
191 | * @code 1487672276 |
||
192 | * |
||
193 | * @param string $name |
||
194 | * @return self |
||
195 | */ |
||
196 | final public static function validatorNotFound($name) |
||
206 | |||
207 | /** |
||
208 | * @code 1489753952 |
||
209 | * |
||
210 | * @param string $name |
||
211 | * @return self |
||
212 | */ |
||
213 | final public static function viewLayoutNotFound($name) |
||
223 | |||
224 | /** |
||
225 | * @code 1489757511 |
||
226 | * |
||
227 | * @param string $name |
||
228 | * @return self |
||
229 | */ |
||
230 | final public static function viewLayoutItemNotFound($name) |
||
240 | |||
241 | /** |
||
242 | * @code 1489754909 |
||
243 | * |
||
244 | * @param string $name |
||
245 | * @return self |
||
246 | */ |
||
247 | final public static function viewClassNotFound($name) |
||
257 | |||
258 | /** |
||
259 | * @code 1487672956 |
||
260 | * |
||
261 | * @param string $validationName |
||
262 | * @param string $fieldName |
||
263 | * @return self |
||
264 | */ |
||
265 | final public static function ajaxControllerValidationNotFoundForField($validationName, $fieldName) |
||
275 | |||
276 | /** |
||
277 | * @code 1487671603 |
||
278 | * |
||
279 | * @param string $fieldName |
||
280 | * @param FormObject $formObject |
||
281 | * @return self |
||
282 | */ |
||
283 | final public static function ajaxControllerFieldNotFound($fieldName, FormObject $formObject) |
||
293 | |||
294 | /** |
||
295 | * @code 1455272659 |
||
296 | * |
||
297 | * @param string $key |
||
298 | * @param AbstractValidator $validator |
||
299 | * @return self |
||
300 | */ |
||
301 | final public static function errorKeyNotFoundForValidator($key, AbstractValidator $validator) |
||
311 | |||
312 | /** |
||
313 | * @code 1487947224 |
||
314 | * |
||
315 | * @param string $fieldName |
||
316 | * @param FormObject $formObject |
||
317 | * @return self |
||
318 | */ |
||
319 | final public static function equalsToFieldValidatorFieldNotFound($fieldName, FormObject $formObject) |
||
329 | |||
330 | /** |
||
331 | * @code 1467623761 |
||
332 | * |
||
333 | * @param string $fieldName |
||
334 | * @return self |
||
335 | */ |
||
336 | final public static function classViewHelperFieldNotFound($fieldName) |
||
346 | |||
347 | /** |
||
348 | * @code 1467624152 |
||
349 | * |
||
350 | * @param string $fieldName |
||
351 | * @return self |
||
352 | */ |
||
353 | final public static function formatMessageViewHelperFieldNotFound($fieldName) |
||
363 | |||
364 | /** |
||
365 | * @code 1465243586 |
||
366 | * |
||
367 | * @param string $layoutName |
||
368 | * @return self |
||
369 | */ |
||
370 | final public static function fieldViewHelperLayoutNotFound($layoutName) |
||
380 | |||
381 | /** |
||
382 | * @code 1485867803 |
||
383 | * |
||
384 | * @param string $layoutName |
||
385 | * @param string $itemName |
||
386 | * @return self |
||
387 | */ |
||
388 | final public static function fieldViewHelperLayoutItemNotFound($layoutName, $itemName) |
||
398 | |||
399 | /** |
||
400 | * @code 1473084335 |
||
401 | * |
||
402 | * @param string $fieldName |
||
403 | * @param FormObject $formObject |
||
404 | * @return self |
||
405 | */ |
||
406 | final public static function formatMessageViewHelperFieldNotFoundInForm($fieldName, FormObject $formObject) |
||
416 | |||
417 | /** |
||
418 | * @code 1457441846 |
||
419 | * |
||
420 | * @param string $controllerObjectName |
||
421 | * @param string $actionName |
||
422 | * @param string $formName |
||
423 | * @return self |
||
424 | */ |
||
425 | final public static function controllerServiceActionFormArgumentMissing($controllerObjectName, $actionName, $formName) |
||
435 | |||
436 | /** |
||
437 | * @code 1488988452 |
||
438 | * |
||
439 | * @param string $name |
||
440 | * @return self |
||
441 | */ |
||
442 | final public static function slotClosureSlotNotFound($name) |
||
452 | |||
453 | /** |
||
454 | * @code 1489497046 |
||
455 | * |
||
456 | * @param string $name |
||
457 | * @return self |
||
458 | */ |
||
459 | final public static function slotArgumentsSlotNotFound($name) |
||
469 | |||
470 | /** |
||
471 | * @code 1491997168 |
||
472 | * |
||
473 | * @return self |
||
474 | */ |
||
475 | final public static function formConfigurationNotFound() |
||
485 | |||
486 | /** |
||
487 | * @code 1493881671 |
||
488 | * |
||
489 | * @param string $name |
||
490 | * @return self |
||
491 | */ |
||
492 | final public static function conditionNotFoundInDefinition($name) |
||
502 | } |
||
503 |