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 = 'Trying to access a condition which is not registered: "%s". Here is a list of all currently registered conditions: "%s".'; |
||
32 | |||
33 | const ACTIVATION_CONDITION_NOT_FOUND = 'No condition "%s" was found.'; |
||
34 | |||
35 | const CONFIGURATION_FIELD_NOT_FOUND = 'The field "%s" was not found. Please use the function `%s::hasField()` before.'; |
||
36 | |||
37 | const VALIDATION_NOT_FOUND = 'The validation "%s" was not found. Please use the function `%s::hasValidation()` before.'; |
||
38 | |||
39 | const VIEW_LAYOUT_NOT_FOUND = 'The layout "%s" was not found. Please use the function `%s::hasLayout()` before.'; |
||
40 | |||
41 | const VIEW_LAYOUT_ITEM_NOT_FOUND = 'The layout item "%s" was not found. Please use the function `%s::hasItem()` before.'; |
||
42 | |||
43 | const VIEW_CLASS_NOT_FOUND = 'The class "%s" was not found. Please use the function `%s::hasItem()` before.'; |
||
44 | |||
45 | const VALIDATION_NOT_FOUND_FOR_FIELD = 'The field "%s" does not have a rule "%s".'; |
||
46 | |||
47 | const ERROR_KEY_NOT_FOUND_FOR_VALIDATOR = 'The error key "%s" does not exist for the validator "%s".'; |
||
48 | |||
49 | 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.'; |
||
50 | |||
51 | const FIELD_VIEW_HELPER_LAYOUT_NOT_FOUND = 'The layout "%s" could not be found. Please check your TypoScript configuration.'; |
||
52 | |||
53 | const FIELD_VIEW_HELPER_LAYOUT_ITEM_NOT_FOUND = 'The layout "%s" does not have an item "%s".'; |
||
54 | |||
55 | 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.'; |
||
56 | |||
57 | const SLOT_NOT_FOUND = 'No slot "%s" was found.'; |
||
58 | |||
59 | /** |
||
60 | * @code 1472650209 |
||
61 | * |
||
62 | * @param string $name |
||
63 | * @param array $list |
||
64 | * @return EntryNotFoundException |
||
65 | */ |
||
66 | final public static function conditionNotFound($name, array $list) |
||
79 | |||
80 | /** |
||
81 | * @code 1488482191 |
||
82 | * |
||
83 | * @param string $name |
||
84 | * @return self |
||
85 | */ |
||
86 | final public static function activationConditionNotFound($name) |
||
96 | |||
97 | /** |
||
98 | * @code 1489765133 |
||
99 | * |
||
100 | * @param string $name |
||
101 | * @return self |
||
102 | */ |
||
103 | final public static function configurationFieldNotFound($name) |
||
113 | |||
114 | /** |
||
115 | * @code 1487672276 |
||
116 | * |
||
117 | * @param string $name |
||
118 | * @return self |
||
119 | */ |
||
120 | final public static function validationNotFound($name) |
||
130 | |||
131 | /** |
||
132 | * @code 1489753952 |
||
133 | * |
||
134 | * @param string $name |
||
135 | * @return self |
||
136 | */ |
||
137 | final public static function viewLayoutNotFound($name) |
||
147 | |||
148 | /** |
||
149 | * @code 1489757511 |
||
150 | * |
||
151 | * @param string $name |
||
152 | * @return self |
||
153 | */ |
||
154 | final public static function viewLayoutItemNotFound($name) |
||
164 | |||
165 | /** |
||
166 | * @code 1489754909 |
||
167 | * |
||
168 | * @param string $name |
||
169 | * @return self |
||
170 | */ |
||
171 | final public static function viewClassNotFound($name) |
||
181 | |||
182 | /** |
||
183 | * @code 1487672956 |
||
184 | * |
||
185 | * @param string $validationName |
||
186 | * @param string $fieldName |
||
187 | * @return EntryNotFoundException |
||
188 | */ |
||
189 | final public static function ajaxControllerValidationNotFoundForField($validationName, $fieldName) |
||
199 | |||
200 | /** |
||
201 | * @code 1487671603 |
||
202 | * |
||
203 | * @param string $fieldName |
||
204 | * @param FormObject $formObject |
||
205 | * @return EntryNotFoundException |
||
206 | */ |
||
207 | final public static function ajaxControllerFieldNotFound($fieldName, FormObject $formObject) |
||
217 | |||
218 | /** |
||
219 | * @code 1455272659 |
||
220 | * |
||
221 | * @param string $key |
||
222 | * @param AbstractValidator $validator |
||
223 | * @return EntryNotFoundException |
||
224 | */ |
||
225 | final public static function errorKeyNotFoundForValidator($key, AbstractValidator $validator) |
||
235 | |||
236 | /** |
||
237 | * @code 1487947224 |
||
238 | * |
||
239 | * @param string $fieldName |
||
240 | * @param FormObject $formObject |
||
241 | * @return EntryNotFoundException |
||
242 | */ |
||
243 | final public static function equalsToFieldValidatorFieldNotFound($fieldName, FormObject $formObject) |
||
253 | |||
254 | /** |
||
255 | * @code 1467623761 |
||
256 | * |
||
257 | * @param string $fieldName |
||
258 | * @return self |
||
259 | */ |
||
260 | final public static function classViewHelperFieldNotFound($fieldName) |
||
270 | |||
271 | /** |
||
272 | * @code 1467624152 |
||
273 | * |
||
274 | * @param string $fieldName |
||
275 | * @return self |
||
276 | */ |
||
277 | final public static function formatMessageViewHelperFieldNotFound($fieldName) |
||
287 | |||
288 | /** |
||
289 | * @code 1465243586 |
||
290 | * |
||
291 | * @param string $layoutName |
||
292 | * @return self |
||
293 | */ |
||
294 | final public static function fieldViewHelperLayoutNotFound($layoutName) |
||
304 | |||
305 | /** |
||
306 | * @code 1485867803 |
||
307 | * |
||
308 | * @param string $layoutName |
||
309 | * @param string $itemName |
||
310 | * @return EntryNotFoundException |
||
311 | */ |
||
312 | final public static function fieldViewHelperLayoutItemNotFound($layoutName, $itemName) |
||
322 | |||
323 | /** |
||
324 | * @code 1473084335 |
||
325 | * |
||
326 | * @param string $fieldName |
||
327 | * @param FormObject $formObject |
||
328 | * @return EntryNotFoundException |
||
329 | */ |
||
330 | final public static function formatMessageViewHelperFieldNotFoundInForm($fieldName, FormObject $formObject) |
||
340 | |||
341 | /** |
||
342 | * @code 1457441846 |
||
343 | * |
||
344 | * @param string $controllerObjectName |
||
345 | * @param string $actionName |
||
346 | * @param string $formName |
||
347 | * @return EntryNotFoundException |
||
348 | */ |
||
349 | final public static function controllerServiceActionFormArgumentMissing($controllerObjectName, $actionName, $formName) |
||
359 | |||
360 | /** |
||
361 | * @code 1488988452 |
||
362 | * |
||
363 | * @param string $name |
||
364 | * @return self |
||
365 | */ |
||
366 | final public static function slotClosureSlotNotFound($name) |
||
376 | |||
377 | /** |
||
378 | * @code 1489497046 |
||
379 | * |
||
380 | * @param string $name |
||
381 | * @return self |
||
382 | */ |
||
383 | final public static function slotArgumentsSlotNotFound($name) |
||
393 | } |
||
394 |