1 | <?php |
||
30 | class EntryNotFoundException extends FormzException |
||
31 | { |
||
32 | const FIELD_NOT_FOUND = 'The field "%s" was not found in the form "%s" with class "%s".'; |
||
33 | |||
34 | const CONDITION_NOT_FOUND = 'Trying to access a condition which is not registered: "%s". Here is a list of all currently registered conditions: "%s".'; |
||
35 | |||
36 | const ACTIVATION_CONDITION_NOT_FOUND = 'No condition "%s" was found.'; |
||
37 | |||
38 | const CONFIGURATION_FIELD_NOT_FOUND = 'The field "%s" was not found. Please use the function `%s::hasField()` before.'; |
||
39 | |||
40 | const VALIDATION_NOT_FOUND = 'The validation "%s" was not found. Please use the function `%s::hasValidation()` before.'; |
||
41 | |||
42 | const VIEW_LAYOUT_NOT_FOUND = 'The layout "%s" was not found. Please use the function `%s::hasLayout()` before.'; |
||
43 | |||
44 | const VIEW_LAYOUT_ITEM_NOT_FOUND = 'The layout item "%s" was not found. Please use the function `%s::hasItem()` before.'; |
||
45 | |||
46 | const VIEW_CLASS_NOT_FOUND = 'The class "%s" was not found. Please use the function `%s::hasItem()` before.'; |
||
47 | |||
48 | const VALIDATION_NOT_FOUND_FOR_FIELD = 'The field "%s" does not have a rule "%s".'; |
||
49 | |||
50 | const ERROR_KEY_NOT_FOUND_FOR_VALIDATOR = 'The error key "%s" does not exist for the validator "%s".'; |
||
51 | |||
52 | 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.'; |
||
53 | |||
54 | const FIELD_VIEW_HELPER_LAYOUT_NOT_FOUND = 'The layout "%s" could not be found. Please check your TypoScript configuration.'; |
||
55 | |||
56 | const FIELD_VIEW_HELPER_LAYOUT_ITEM_NOT_FOUND = 'The layout "%s" does not have an item "%s".'; |
||
57 | |||
58 | 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.'; |
||
59 | |||
60 | const SLOT_NOT_FOUND = 'No slot "%s" was found.'; |
||
61 | |||
62 | const FORM_CONFIGURATION_NOT_FOUND = 'The configuration for form of class "%s" was not found. Please use the function `%s::hasForm()` before.'; |
||
63 | |||
64 | const FORM_OBJECT_INSTANCE_NOT_FOUND = 'The form instance for the object of type "%s" was not found. Please take care of registering it before with "%s::registerFormInstance()".'; |
||
65 | |||
66 | /** |
||
67 | * @code 1472650209 |
||
68 | * |
||
69 | * @param string $name |
||
70 | * @param array $list |
||
71 | * @return self |
||
72 | */ |
||
73 | final public static function conditionNotFound($name, array $list) |
||
86 | |||
87 | /** |
||
88 | * @code 1488482191 |
||
89 | * |
||
90 | * @param string $name |
||
91 | * @return self |
||
92 | */ |
||
93 | final public static function activationConditionNotFound($name) |
||
103 | |||
104 | /** |
||
105 | * @code 1489765133 |
||
106 | * |
||
107 | * @param string $name |
||
108 | * @return self |
||
109 | */ |
||
110 | final public static function configurationFieldNotFound($name) |
||
120 | |||
121 | /** |
||
122 | * @code 1487672276 |
||
123 | * |
||
124 | * @param string $name |
||
125 | * @return self |
||
126 | */ |
||
127 | final public static function validationNotFound($name) |
||
137 | |||
138 | /** |
||
139 | * @code 1489753952 |
||
140 | * |
||
141 | * @param string $name |
||
142 | * @return self |
||
143 | */ |
||
144 | final public static function viewLayoutNotFound($name) |
||
154 | |||
155 | /** |
||
156 | * @code 1489757511 |
||
157 | * |
||
158 | * @param string $name |
||
159 | * @return self |
||
160 | */ |
||
161 | final public static function viewLayoutItemNotFound($name) |
||
171 | |||
172 | /** |
||
173 | * @code 1489754909 |
||
174 | * |
||
175 | * @param string $name |
||
176 | * @return self |
||
177 | */ |
||
178 | final public static function viewClassNotFound($name) |
||
188 | |||
189 | /** |
||
190 | * @code 1487672956 |
||
191 | * |
||
192 | * @param string $validationName |
||
193 | * @param string $fieldName |
||
194 | * @return self |
||
195 | */ |
||
196 | final public static function ajaxControllerValidationNotFoundForField($validationName, $fieldName) |
||
206 | |||
207 | /** |
||
208 | * @code 1487671603 |
||
209 | * |
||
210 | * @param string $fieldName |
||
211 | * @param FormObject $formObject |
||
212 | * @return self |
||
213 | */ |
||
214 | final public static function ajaxControllerFieldNotFound($fieldName, FormObject $formObject) |
||
224 | |||
225 | /** |
||
226 | * @code 1455272659 |
||
227 | * |
||
228 | * @param string $key |
||
229 | * @param AbstractValidator $validator |
||
230 | * @return self |
||
231 | */ |
||
232 | final public static function errorKeyNotFoundForValidator($key, AbstractValidator $validator) |
||
242 | |||
243 | /** |
||
244 | * @code 1487947224 |
||
245 | * |
||
246 | * @param string $fieldName |
||
247 | * @param FormObject $formObject |
||
248 | * @return self |
||
249 | */ |
||
250 | final public static function equalsToFieldValidatorFieldNotFound($fieldName, FormObject $formObject) |
||
260 | |||
261 | /** |
||
262 | * @code 1467623761 |
||
263 | * |
||
264 | * @param string $fieldName |
||
265 | * @return self |
||
266 | */ |
||
267 | final public static function classViewHelperFieldNotFound($fieldName) |
||
277 | |||
278 | /** |
||
279 | * @code 1467624152 |
||
280 | * |
||
281 | * @param string $fieldName |
||
282 | * @return self |
||
283 | */ |
||
284 | final public static function formatMessageViewHelperFieldNotFound($fieldName) |
||
294 | |||
295 | /** |
||
296 | * @code 1465243586 |
||
297 | * |
||
298 | * @param string $layoutName |
||
299 | * @return self |
||
300 | */ |
||
301 | final public static function fieldViewHelperLayoutNotFound($layoutName) |
||
311 | |||
312 | /** |
||
313 | * @code 1485867803 |
||
314 | * |
||
315 | * @param string $layoutName |
||
316 | * @param string $itemName |
||
317 | * @return self |
||
318 | */ |
||
319 | final public static function fieldViewHelperLayoutItemNotFound($layoutName, $itemName) |
||
329 | |||
330 | /** |
||
331 | * @code 1473084335 |
||
332 | * |
||
333 | * @param string $fieldName |
||
334 | * @param FormObject $formObject |
||
335 | * @return self |
||
336 | */ |
||
337 | final public static function formatMessageViewHelperFieldNotFoundInForm($fieldName, FormObject $formObject) |
||
347 | |||
348 | /** |
||
349 | * @code 1457441846 |
||
350 | * |
||
351 | * @param string $controllerObjectName |
||
352 | * @param string $actionName |
||
353 | * @param string $formName |
||
354 | * @return self |
||
355 | */ |
||
356 | final public static function controllerServiceActionFormArgumentMissing($controllerObjectName, $actionName, $formName) |
||
366 | |||
367 | /** |
||
368 | * @code 1488988452 |
||
369 | * |
||
370 | * @param string $name |
||
371 | * @return self |
||
372 | */ |
||
373 | final public static function slotClosureSlotNotFound($name) |
||
383 | |||
384 | /** |
||
385 | * @code 1489497046 |
||
386 | * |
||
387 | * @param string $name |
||
388 | * @return self |
||
389 | */ |
||
390 | final public static function slotArgumentsSlotNotFound($name) |
||
400 | |||
401 | /** |
||
402 | * @code 1491997168 |
||
403 | * |
||
404 | * @return self |
||
405 | */ |
||
406 | final public static function formConfigurationNotFound() |
||
416 | |||
417 | /** |
||
418 | * @code 1494514957 |
||
419 | * |
||
420 | * @param FormInterface $form |
||
421 | * @return self |
||
422 | */ |
||
423 | final public static function formObjectInstanceNotFound(FormInterface $form) |
||
433 | } |
||
434 |