1 | <?php |
||
27 | class EntryNotFoundException extends FormzException |
||
28 | { |
||
29 | const FIELD_NOT_FOUND = 'The field "%s" was not found in the form "%s" with class "%s".'; |
||
30 | |||
31 | const CONDITION_NOT_FOUND = 'No condition "%s" was found.'; |
||
32 | |||
33 | const CONFIGURATION_FIELD_NOT_FOUND = 'The field "%s" was not found. Please use the function `%s::hasField()` before.'; |
||
34 | |||
35 | const VALIDATION_NOT_FOUND = 'The validation "%s" was not found. Please use the function `%s::hasValidation()` before.'; |
||
36 | |||
37 | const VIEW_LAYOUT_NOT_FOUND = 'The layout "%s" was not found. Please use the function `%s::hasLayout()` before.'; |
||
38 | |||
39 | const VIEW_LAYOUT_ITEM_NOT_FOUND = 'The layout item "%s" was not found. Please use the function `%s::hasItem()` before.'; |
||
40 | |||
41 | const VIEW_CLASS_NOT_FOUND = 'The class "%s" was not found. Please use the function `%s::hasItem()` before.'; |
||
42 | |||
43 | const VALIDATION_NOT_FOUND_FOR_FIELD = 'The field "%s" does not have a rule "%s".'; |
||
44 | |||
45 | const ERROR_KEY_NOT_FOUND_FOR_VALIDATOR = 'The error key "%s" does not exist for the validator "%s".'; |
||
46 | |||
47 | 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.'; |
||
48 | |||
49 | const FIELD_VIEW_HELPER_LAYOUT_NOT_FOUND = 'The layout "%s" could not be found. Please check your TypoScript configuration.'; |
||
50 | |||
51 | const FIELD_VIEW_HELPER_LAYOUT_ITEM_NOT_FOUND = 'The layout "%s" does not have an item "%s".'; |
||
52 | |||
53 | 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.'; |
||
54 | |||
55 | const SLOT_NOT_FOUND = 'No slot "%s" was found.'; |
||
56 | |||
57 | /** |
||
58 | * @code 1488482191 |
||
59 | * |
||
60 | * @param string $name |
||
61 | * @return self |
||
62 | */ |
||
63 | final public static function conditionNotFound($name) |
||
73 | |||
74 | /** |
||
75 | * @code 1489765133 |
||
76 | * |
||
77 | * @param string $name |
||
78 | * @return self |
||
79 | */ |
||
80 | final public static function configurationFieldNotFound($name) |
||
90 | |||
91 | /** |
||
92 | * @code 1487672276 |
||
93 | * |
||
94 | * @param string $name |
||
95 | * @return self |
||
96 | */ |
||
97 | final public static function validationNotFound($name) |
||
107 | |||
108 | /** |
||
109 | * @code 1489753952 |
||
110 | * |
||
111 | * @param string $name |
||
112 | * @return self |
||
113 | */ |
||
114 | final public static function viewLayoutNotFound($name) |
||
124 | |||
125 | /** |
||
126 | * @code 1489757511 |
||
127 | * |
||
128 | * @param string $name |
||
129 | * @return self |
||
130 | */ |
||
131 | final public static function viewLayoutItemNotFound($name) |
||
141 | |||
142 | /** |
||
143 | * @code 1489754909 |
||
144 | * |
||
145 | * @param string $name |
||
146 | * @return self |
||
147 | */ |
||
148 | final public static function viewClassNotFound($name) |
||
158 | |||
159 | /** |
||
160 | * @code 1487672956 |
||
161 | * |
||
162 | * @param string $validationName |
||
163 | * @param string $fieldName |
||
164 | * @return EntryNotFoundException |
||
165 | */ |
||
166 | final public static function ajaxControllerValidationNotFoundForField($validationName, $fieldName) |
||
176 | |||
177 | /** |
||
178 | * @code 1487671603 |
||
179 | * |
||
180 | * @param string $fieldName |
||
181 | * @param FormObject $formObject |
||
182 | * @return EntryNotFoundException |
||
183 | */ |
||
184 | final public static function ajaxControllerFieldNotFound($fieldName, FormObject $formObject) |
||
194 | |||
195 | /** |
||
196 | * @code 1455272659 |
||
197 | * |
||
198 | * @param string $key |
||
199 | * @param AbstractValidator $validator |
||
200 | * @return EntryNotFoundException |
||
201 | */ |
||
202 | final public static function errorKeyNotFoundForValidator($key, AbstractValidator $validator) |
||
212 | |||
213 | /** |
||
214 | * @code 1487947224 |
||
215 | * |
||
216 | * @param string $fieldName |
||
217 | * @param FormObject $formObject |
||
218 | * @return EntryNotFoundException |
||
219 | */ |
||
220 | final public static function equalsToFieldValidatorFieldNotFound($fieldName, FormObject $formObject) |
||
230 | |||
231 | /** |
||
232 | * @code 1467623761 |
||
233 | * |
||
234 | * @param string $fieldName |
||
235 | * @return self |
||
236 | */ |
||
237 | final public static function classViewHelperFieldNotFound($fieldName) |
||
247 | |||
248 | /** |
||
249 | * @code 1467624152 |
||
250 | * |
||
251 | * @param string $fieldName |
||
252 | * @return self |
||
253 | */ |
||
254 | final public static function formatMessageViewHelperFieldNotFound($fieldName) |
||
264 | |||
265 | /** |
||
266 | * @code 1465243586 |
||
267 | * |
||
268 | * @param string $layoutName |
||
269 | * @return self |
||
270 | */ |
||
271 | final public static function fieldViewHelperLayoutNotFound($layoutName) |
||
281 | |||
282 | /** |
||
283 | * @code 1485867803 |
||
284 | * |
||
285 | * @param string $layoutName |
||
286 | * @param string $itemName |
||
287 | * @return EntryNotFoundException |
||
288 | */ |
||
289 | final public static function fieldViewHelperLayoutItemNotFound($layoutName, $itemName) |
||
299 | |||
300 | /** |
||
301 | * @code 1473084335 |
||
302 | * |
||
303 | * @param string $fieldName |
||
304 | * @param FormObject $formObject |
||
305 | * @return EntryNotFoundException |
||
306 | */ |
||
307 | final public static function formatMessageViewHelperFieldNotFoundInForm($fieldName, FormObject $formObject) |
||
317 | |||
318 | /** |
||
319 | * @code 1457441846 |
||
320 | * |
||
321 | * @param string $controllerObjectName |
||
322 | * @param string $actionName |
||
323 | * @param string $formName |
||
324 | * @return EntryNotFoundException |
||
325 | */ |
||
326 | final public static function controllerServiceActionFormArgumentMissing($controllerObjectName, $actionName, $formName) |
||
336 | |||
337 | /** |
||
338 | * @code 1488988452 |
||
339 | * |
||
340 | * @param string $name |
||
341 | * @return self |
||
342 | */ |
||
343 | final public static function slotClosureSlotNotFound($name) |
||
353 | |||
354 | /** |
||
355 | * @code 1489497046 |
||
356 | * |
||
357 | * @param string $name |
||
358 | * @return self |
||
359 | */ |
||
360 | final public static function slotArgumentsSlotNotFound($name) |
||
370 | } |
||
371 |