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 ACTIVATION_CONDITION_NOT_FOUND = 'No condition "%s" was found.'; |
||
38 | |||
39 | const CONFIGURATION_FIELD_NOT_FOUND = 'The field "%s" was not found. Please use the function `%s::hasField()` before.'; |
||
40 | |||
41 | const VALIDATION_NOT_FOUND = 'The validation "%s" was not found. Please use the function `%s::hasValidation()` before.'; |
||
42 | |||
43 | const VIEW_LAYOUT_NOT_FOUND = 'The layout "%s" was not found. Please use the function `%s::hasLayout()` before.'; |
||
44 | |||
45 | const VIEW_LAYOUT_ITEM_NOT_FOUND = 'The layout item "%s" was not found. Please use the function `%s::hasItem()` before.'; |
||
46 | |||
47 | const VIEW_CLASS_NOT_FOUND = 'The class "%s" was not found. Please use the function `%s::hasItem()` before.'; |
||
48 | |||
49 | const VALIDATION_NOT_FOUND_FOR_FIELD = 'The field "%s" does not have a rule "%s".'; |
||
50 | |||
51 | const ERROR_KEY_NOT_FOUND_FOR_VALIDATOR = 'The error key "%s" does not exist for the validator "%s".'; |
||
52 | |||
53 | 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.'; |
||
54 | |||
55 | const FIELD_VIEW_HELPER_LAYOUT_NOT_FOUND = 'The layout "%s" could not be found. Please check your TypoScript configuration.'; |
||
56 | |||
57 | const FIELD_VIEW_HELPER_LAYOUT_ITEM_NOT_FOUND = 'The layout "%s" does not have an item "%s".'; |
||
58 | |||
59 | 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.'; |
||
60 | |||
61 | const SLOT_NOT_FOUND = 'No slot "%s" was found.'; |
||
62 | |||
63 | const ARGUMENT_NOT_FOUND = 'Trying to get an argument that does not exist: "%s". Please use function `has()`.'; |
||
64 | |||
65 | const FORM_REQUEST_DATA_NOT_FOUND = 'The data "%s" was not found. Please use the function `%s::hasData()` before.'; |
||
66 | |||
67 | const PERSISTENCE_SESSION_ENTRY_NOT_FOUND = 'The form with identifier "%s" was not found in the session, please use the function `%s::has()` before.'; |
||
68 | |||
69 | const META_DATA_NOT_FOUND = 'The metadata "%s" was not found. Please use the function `%s::has()` before.'; |
||
70 | |||
71 | |||
72 | /** |
||
73 | * @code 1472650209 |
||
74 | * |
||
75 | * @param string $name |
||
76 | * @param array $list |
||
77 | * @return self |
||
78 | */ |
||
79 | final public static function conditionNotFound($name, array $list) |
||
92 | |||
93 | /** |
||
94 | * @code 1488482191 |
||
95 | * |
||
96 | * @param string $name |
||
97 | * @return self |
||
98 | */ |
||
99 | final public static function activationConditionNotFound($name) |
||
109 | |||
110 | /** |
||
111 | * @code 1489765133 |
||
112 | * |
||
113 | * @param string $name |
||
114 | * @return self |
||
115 | */ |
||
116 | final public static function configurationFieldNotFound($name) |
||
126 | |||
127 | /** |
||
128 | * @code 1487672276 |
||
129 | * |
||
130 | * @param string $name |
||
131 | * @return self |
||
132 | */ |
||
133 | final public static function validationNotFound($name) |
||
143 | |||
144 | /** |
||
145 | * @code 1489753952 |
||
146 | * |
||
147 | * @param string $name |
||
148 | * @return self |
||
149 | */ |
||
150 | final public static function viewLayoutNotFound($name) |
||
160 | |||
161 | /** |
||
162 | * @code 1489757511 |
||
163 | * |
||
164 | * @param string $name |
||
165 | * @return self |
||
166 | */ |
||
167 | final public static function viewLayoutItemNotFound($name) |
||
177 | |||
178 | /** |
||
179 | * @code 1489754909 |
||
180 | * |
||
181 | * @param string $name |
||
182 | * @return self |
||
183 | */ |
||
184 | final public static function viewClassNotFound($name) |
||
194 | |||
195 | /** |
||
196 | * @code 1487672956 |
||
197 | * |
||
198 | * @param string $validationName |
||
199 | * @param string $fieldName |
||
200 | * @return self |
||
201 | */ |
||
202 | final public static function ajaxControllerValidationNotFoundForField($validationName, $fieldName) |
||
212 | |||
213 | /** |
||
214 | * @code 1487671603 |
||
215 | * |
||
216 | * @param string $fieldName |
||
217 | * @param FormObject $formObject |
||
218 | * @return self |
||
219 | */ |
||
220 | final public static function ajaxControllerFieldNotFound($fieldName, FormObject $formObject) |
||
230 | |||
231 | /** |
||
232 | * @code 1455272659 |
||
233 | * |
||
234 | * @param string $key |
||
235 | * @param AbstractValidator $validator |
||
236 | * @return self |
||
237 | */ |
||
238 | final public static function errorKeyNotFoundForValidator($key, AbstractValidator $validator) |
||
248 | |||
249 | /** |
||
250 | * @code 1487947224 |
||
251 | * |
||
252 | * @param string $fieldName |
||
253 | * @param FormObject $formObject |
||
254 | * @return self |
||
255 | */ |
||
256 | final public static function equalsToFieldValidatorFieldNotFound($fieldName, FormObject $formObject) |
||
266 | |||
267 | /** |
||
268 | * @code 1467623761 |
||
269 | * |
||
270 | * @param string $fieldName |
||
271 | * @return self |
||
272 | */ |
||
273 | final public static function classViewHelperFieldNotFound($fieldName) |
||
283 | |||
284 | /** |
||
285 | * @code 1467624152 |
||
286 | * |
||
287 | * @param string $fieldName |
||
288 | * @return self |
||
289 | */ |
||
290 | final public static function formatMessageViewHelperFieldNotFound($fieldName) |
||
300 | |||
301 | /** |
||
302 | * @code 1465243586 |
||
303 | * |
||
304 | * @param string $layoutName |
||
305 | * @return self |
||
306 | */ |
||
307 | final public static function fieldViewHelperLayoutNotFound($layoutName) |
||
317 | |||
318 | /** |
||
319 | * @code 1485867803 |
||
320 | * |
||
321 | * @param string $layoutName |
||
322 | * @param string $itemName |
||
323 | * @return self |
||
324 | */ |
||
325 | final public static function fieldViewHelperLayoutItemNotFound($layoutName, $itemName) |
||
335 | |||
336 | /** |
||
337 | * @code 1473084335 |
||
338 | * |
||
339 | * @param string $fieldName |
||
340 | * @param FormObject $formObject |
||
341 | * @return self |
||
342 | */ |
||
343 | final public static function formatMessageViewHelperFieldNotFoundInForm($fieldName, FormObject $formObject) |
||
353 | |||
354 | /** |
||
355 | * @code 1457441846 |
||
356 | * |
||
357 | * @param string $controllerObjectName |
||
358 | * @param string $actionName |
||
359 | * @param string $formName |
||
360 | * @return self |
||
361 | */ |
||
362 | final public static function controllerServiceActionFormArgumentMissing($controllerObjectName, $actionName, $formName) |
||
372 | |||
373 | /** |
||
374 | * @code 1488988452 |
||
375 | * |
||
376 | * @param string $name |
||
377 | * @return self |
||
378 | */ |
||
379 | final public static function slotClosureSlotNotFound($name) |
||
389 | |||
390 | /** |
||
391 | * @code 1489497046 |
||
392 | * |
||
393 | * @param string $name |
||
394 | * @return self |
||
395 | */ |
||
396 | final public static function slotArgumentsSlotNotFound($name) |
||
406 | |||
407 | /** |
||
408 | * @code 1490792697 |
||
409 | * |
||
410 | * @param string $name |
||
411 | * @return self |
||
412 | */ |
||
413 | final public static function argumentNotFound($name) |
||
423 | |||
424 | /** |
||
425 | * @code 1490799273 |
||
426 | * |
||
427 | * @param string $name |
||
428 | * @return self |
||
429 | */ |
||
430 | final public static function formRequestDataNotFound($name) |
||
440 | |||
441 | /** |
||
442 | * @code 1491293933 |
||
443 | * |
||
444 | * @param FormMetadata $metadata |
||
445 | * @return self |
||
446 | */ |
||
447 | final public static function persistenceSessionEntryNotFound(FormMetadata $metadata) |
||
457 | |||
458 | /** |
||
459 | * @code 1491814768 |
||
460 | * |
||
461 | * @param string $key |
||
462 | * @return self |
||
463 | */ |
||
464 | final public static function metadataNotFound($key) |
||
474 | } |
||
475 |