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 | * @param string $name |
||
61 | * @param array $list |
||
62 | * @return self |
||
63 | */ |
||
64 | final public static function conditionNotFound($name, array $list) |
||
78 | |||
79 | /** |
||
80 | * @param string $name |
||
81 | * @return self |
||
82 | */ |
||
83 | final public static function activationConditionNotFound($name) |
||
94 | |||
95 | /** |
||
96 | * @param string $name |
||
97 | * @return self |
||
98 | */ |
||
99 | final public static function configurationFieldNotFound($name) |
||
110 | |||
111 | /** |
||
112 | * @param string $name |
||
113 | * @return self |
||
114 | */ |
||
115 | final public static function validationNotFound($name) |
||
126 | |||
127 | /** |
||
128 | * @param string $name |
||
129 | * @return self |
||
130 | */ |
||
131 | final public static function viewLayoutNotFound($name) |
||
142 | |||
143 | /** |
||
144 | * @param string $name |
||
145 | * @return self |
||
146 | */ |
||
147 | final public static function viewLayoutItemNotFound($name) |
||
158 | |||
159 | /** |
||
160 | * @param string $name |
||
161 | * @return self |
||
162 | */ |
||
163 | final public static function viewClassNotFound($name) |
||
174 | |||
175 | /** |
||
176 | * @param string $validationName |
||
177 | * @param string $fieldName |
||
178 | * @return self |
||
179 | */ |
||
180 | final public static function ajaxControllerValidationNotFoundForField($validationName, $fieldName) |
||
191 | |||
192 | /** |
||
193 | * @param string $fieldName |
||
194 | * @param FormObject $formObject |
||
195 | * @return self |
||
196 | */ |
||
197 | final public static function ajaxControllerFieldNotFound($fieldName, FormObject $formObject) |
||
208 | |||
209 | /** |
||
210 | * @param string $key |
||
211 | * @param AbstractValidator $validator |
||
212 | * @return self |
||
213 | */ |
||
214 | final public static function errorKeyNotFoundForValidator($key, AbstractValidator $validator) |
||
225 | |||
226 | /** |
||
227 | * @param string $fieldName |
||
228 | * @param FormObject $formObject |
||
229 | * @return self |
||
230 | */ |
||
231 | final public static function equalsToFieldValidatorFieldNotFound($fieldName, FormObject $formObject) |
||
242 | |||
243 | /** |
||
244 | * @param string $fieldName |
||
245 | * @return self |
||
246 | */ |
||
247 | final public static function classViewHelperFieldNotFound($fieldName) |
||
258 | |||
259 | /** |
||
260 | * @param string $fieldName |
||
261 | * @return self |
||
262 | */ |
||
263 | final public static function formatMessageViewHelperFieldNotFound($fieldName) |
||
274 | |||
275 | /** |
||
276 | * @param string $layoutName |
||
277 | * @return self |
||
278 | */ |
||
279 | final public static function fieldViewHelperLayoutNotFound($layoutName) |
||
290 | |||
291 | /** |
||
292 | * @param string $layoutName |
||
293 | * @param string $itemName |
||
294 | * @return self |
||
295 | */ |
||
296 | final public static function fieldViewHelperLayoutItemNotFound($layoutName, $itemName) |
||
307 | |||
308 | /** |
||
309 | * @param string $fieldName |
||
310 | * @param FormObject $formObject |
||
311 | * @return self |
||
312 | */ |
||
313 | final public static function formatMessageViewHelperFieldNotFoundInForm($fieldName, FormObject $formObject) |
||
324 | |||
325 | /** |
||
326 | * @param string $controllerObjectName |
||
327 | * @param string $actionName |
||
328 | * @param string $formName |
||
329 | * @return self |
||
330 | */ |
||
331 | final public static function controllerServiceActionFormArgumentMissing($controllerObjectName, $actionName, $formName) |
||
342 | |||
343 | /** |
||
344 | * @param string $name |
||
345 | * @return self |
||
346 | */ |
||
347 | final public static function slotClosureSlotNotFound($name) |
||
358 | |||
359 | /** |
||
360 | * @param string $name |
||
361 | * @return self |
||
362 | */ |
||
363 | final public static function slotArgumentsSlotNotFound($name) |
||
374 | } |
||
375 |