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 ACTIVATION_CONDITION_NOT_FOUND = 'No condition "%s" was found.'; |
||
35 | |||
36 | const CONFIGURATION_FIELD_NOT_FOUND = 'The field "%s" was not found. Please use the function `%s::hasField()` before.'; |
||
37 | |||
38 | const VALIDATION_NOT_FOUND = 'The validation "%s" was not found. Please use the function `%s::hasValidation()` before.'; |
||
39 | |||
40 | const VIEW_LAYOUT_NOT_FOUND = 'The layout "%s" was not found. Please use the function `%s::hasLayout()` before.'; |
||
41 | |||
42 | const VIEW_LAYOUT_ITEM_NOT_FOUND = 'The layout item "%s" was not found. Please use the function `%s::hasItem()` before.'; |
||
43 | |||
44 | const VIEW_CLASS_NOT_FOUND = 'The class "%s" was not found. Please use the function `%s::hasItem()` before.'; |
||
45 | |||
46 | const VALIDATION_NOT_FOUND_FOR_FIELD = 'The field "%s" does not have a rule "%s".'; |
||
47 | |||
48 | const ERROR_KEY_NOT_FOUND_FOR_VALIDATOR = 'The error key "%s" does not exist for the validator "%s".'; |
||
49 | |||
50 | 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.'; |
||
51 | |||
52 | const FIELD_VIEW_HELPER_LAYOUT_NOT_FOUND = 'The layout "%s" could not be found. Please check your TypoScript configuration.'; |
||
53 | |||
54 | const FIELD_VIEW_HELPER_LAYOUT_ITEM_NOT_FOUND = 'The layout "%s" does not have an item "%s".'; |
||
55 | |||
56 | 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.'; |
||
57 | |||
58 | const SLOT_NOT_FOUND = 'No slot "%s" was found.'; |
||
59 | |||
60 | const ARGUMENT_NOT_FOUND = 'Trying to get an argument that does not exist: "%s". Please use function `has()`.'; |
||
61 | |||
62 | const FORM_REQUEST_DATA_NOT_FOUND = 'The data "%s" was not found. Please use the function `%s::hasData()` before.'; |
||
63 | |||
64 | /** |
||
65 | * @code 1472650209 |
||
66 | * |
||
67 | * @param string $name |
||
68 | * @param array $list |
||
69 | * @return self |
||
70 | */ |
||
71 | final public static function conditionNotFound($name, array $list) |
||
84 | |||
85 | /** |
||
86 | * @code 1488482191 |
||
87 | * |
||
88 | * @param string $name |
||
89 | * @return self |
||
90 | */ |
||
91 | final public static function activationConditionNotFound($name) |
||
101 | |||
102 | /** |
||
103 | * @code 1489765133 |
||
104 | * |
||
105 | * @param string $name |
||
106 | * @return self |
||
107 | */ |
||
108 | final public static function configurationFieldNotFound($name) |
||
118 | |||
119 | /** |
||
120 | * @code 1487672276 |
||
121 | * |
||
122 | * @param string $name |
||
123 | * @return self |
||
124 | */ |
||
125 | final public static function validationNotFound($name) |
||
135 | |||
136 | /** |
||
137 | * @code 1489753952 |
||
138 | * |
||
139 | * @param string $name |
||
140 | * @return self |
||
141 | */ |
||
142 | final public static function viewLayoutNotFound($name) |
||
152 | |||
153 | /** |
||
154 | * @code 1489757511 |
||
155 | * |
||
156 | * @param string $name |
||
157 | * @return self |
||
158 | */ |
||
159 | final public static function viewLayoutItemNotFound($name) |
||
169 | |||
170 | /** |
||
171 | * @code 1489754909 |
||
172 | * |
||
173 | * @param string $name |
||
174 | * @return self |
||
175 | */ |
||
176 | final public static function viewClassNotFound($name) |
||
186 | |||
187 | /** |
||
188 | * @code 1487672956 |
||
189 | * |
||
190 | * @param string $validationName |
||
191 | * @param string $fieldName |
||
192 | * @return self |
||
193 | */ |
||
194 | final public static function ajaxControllerValidationNotFoundForField($validationName, $fieldName) |
||
204 | |||
205 | /** |
||
206 | * @code 1487671603 |
||
207 | * |
||
208 | * @param string $fieldName |
||
209 | * @param FormObject $formObject |
||
210 | * @return self |
||
211 | */ |
||
212 | final public static function ajaxControllerFieldNotFound($fieldName, FormObject $formObject) |
||
222 | |||
223 | /** |
||
224 | * @code 1455272659 |
||
225 | * |
||
226 | * @param string $key |
||
227 | * @param AbstractValidator $validator |
||
228 | * @return self |
||
229 | */ |
||
230 | final public static function errorKeyNotFoundForValidator($key, AbstractValidator $validator) |
||
240 | |||
241 | /** |
||
242 | * @code 1487947224 |
||
243 | * |
||
244 | * @param string $fieldName |
||
245 | * @param FormObject $formObject |
||
246 | * @return self |
||
247 | */ |
||
248 | final public static function equalsToFieldValidatorFieldNotFound($fieldName, FormObject $formObject) |
||
258 | |||
259 | /** |
||
260 | * @code 1467623761 |
||
261 | * |
||
262 | * @param string $fieldName |
||
263 | * @return self |
||
264 | */ |
||
265 | final public static function classViewHelperFieldNotFound($fieldName) |
||
275 | |||
276 | /** |
||
277 | * @code 1467624152 |
||
278 | * |
||
279 | * @param string $fieldName |
||
280 | * @return self |
||
281 | */ |
||
282 | final public static function formatMessageViewHelperFieldNotFound($fieldName) |
||
292 | |||
293 | /** |
||
294 | * @code 1465243586 |
||
295 | * |
||
296 | * @param string $layoutName |
||
297 | * @return self |
||
298 | */ |
||
299 | final public static function fieldViewHelperLayoutNotFound($layoutName) |
||
309 | |||
310 | /** |
||
311 | * @code 1485867803 |
||
312 | * |
||
313 | * @param string $layoutName |
||
314 | * @param string $itemName |
||
315 | * @return self |
||
316 | */ |
||
317 | final public static function fieldViewHelperLayoutItemNotFound($layoutName, $itemName) |
||
327 | |||
328 | /** |
||
329 | * @code 1473084335 |
||
330 | * |
||
331 | * @param string $fieldName |
||
332 | * @param FormObject $formObject |
||
333 | * @return self |
||
334 | */ |
||
335 | final public static function formatMessageViewHelperFieldNotFoundInForm($fieldName, FormObject $formObject) |
||
345 | |||
346 | /** |
||
347 | * @code 1457441846 |
||
348 | * |
||
349 | * @param string $controllerObjectName |
||
350 | * @param string $actionName |
||
351 | * @param string $formName |
||
352 | * @return self |
||
353 | */ |
||
354 | final public static function controllerServiceActionFormArgumentMissing($controllerObjectName, $actionName, $formName) |
||
364 | |||
365 | /** |
||
366 | * @code 1488988452 |
||
367 | * |
||
368 | * @param string $name |
||
369 | * @return self |
||
370 | */ |
||
371 | final public static function slotClosureSlotNotFound($name) |
||
381 | |||
382 | /** |
||
383 | * @code 1489497046 |
||
384 | * |
||
385 | * @param string $name |
||
386 | * @return self |
||
387 | */ |
||
388 | final public static function slotArgumentsSlotNotFound($name) |
||
398 | |||
399 | /** |
||
400 | * @code 1490792697 |
||
401 | * |
||
402 | * @param string $name |
||
403 | * @return self |
||
404 | */ |
||
405 | final public static function argumentNotFound($name) |
||
415 | |||
416 | /** |
||
417 | * @code 1490799273 |
||
418 | * |
||
419 | * @param string $name |
||
420 | * @return self |
||
421 | */ |
||
422 | final public static function formRequestDataNotFound($name) |
||
432 | } |
||
433 |