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 | const ARGUMENT_NOT_FOUND = 'Trying to get an argument that does not exist: "%s". Please use function `has()`.'; |
||
60 | |||
61 | /** |
||
62 | * @code 1472650209 |
||
63 | * |
||
64 | * @param string $name |
||
65 | * @param array $list |
||
66 | * @return self |
||
67 | */ |
||
68 | final public static function conditionNotFound($name, array $list) |
||
81 | |||
82 | /** |
||
83 | * @code 1488482191 |
||
84 | * |
||
85 | * @param string $name |
||
86 | * @return self |
||
87 | */ |
||
88 | final public static function activationConditionNotFound($name) |
||
98 | |||
99 | /** |
||
100 | * @code 1489765133 |
||
101 | * |
||
102 | * @param string $name |
||
103 | * @return self |
||
104 | */ |
||
105 | final public static function configurationFieldNotFound($name) |
||
115 | |||
116 | /** |
||
117 | * @code 1487672276 |
||
118 | * |
||
119 | * @param string $name |
||
120 | * @return self |
||
121 | */ |
||
122 | final public static function validationNotFound($name) |
||
132 | |||
133 | /** |
||
134 | * @code 1489753952 |
||
135 | * |
||
136 | * @param string $name |
||
137 | * @return self |
||
138 | */ |
||
139 | final public static function viewLayoutNotFound($name) |
||
149 | |||
150 | /** |
||
151 | * @code 1489757511 |
||
152 | * |
||
153 | * @param string $name |
||
154 | * @return self |
||
155 | */ |
||
156 | final public static function viewLayoutItemNotFound($name) |
||
166 | |||
167 | /** |
||
168 | * @code 1489754909 |
||
169 | * |
||
170 | * @param string $name |
||
171 | * @return self |
||
172 | */ |
||
173 | final public static function viewClassNotFound($name) |
||
183 | |||
184 | /** |
||
185 | * @code 1487672956 |
||
186 | * |
||
187 | * @param string $validationName |
||
188 | * @param string $fieldName |
||
189 | * @return self |
||
190 | */ |
||
191 | final public static function ajaxControllerValidationNotFoundForField($validationName, $fieldName) |
||
201 | |||
202 | /** |
||
203 | * @code 1487671603 |
||
204 | * |
||
205 | * @param string $fieldName |
||
206 | * @param FormObject $formObject |
||
207 | * @return self |
||
208 | */ |
||
209 | final public static function ajaxControllerFieldNotFound($fieldName, FormObject $formObject) |
||
219 | |||
220 | /** |
||
221 | * @code 1455272659 |
||
222 | * |
||
223 | * @param string $key |
||
224 | * @param AbstractValidator $validator |
||
225 | * @return self |
||
226 | */ |
||
227 | final public static function errorKeyNotFoundForValidator($key, AbstractValidator $validator) |
||
237 | |||
238 | /** |
||
239 | * @code 1487947224 |
||
240 | * |
||
241 | * @param string $fieldName |
||
242 | * @param FormObject $formObject |
||
243 | * @return self |
||
244 | */ |
||
245 | final public static function equalsToFieldValidatorFieldNotFound($fieldName, FormObject $formObject) |
||
255 | |||
256 | /** |
||
257 | * @code 1467623761 |
||
258 | * |
||
259 | * @param string $fieldName |
||
260 | * @return self |
||
261 | */ |
||
262 | final public static function classViewHelperFieldNotFound($fieldName) |
||
272 | |||
273 | /** |
||
274 | * @code 1467624152 |
||
275 | * |
||
276 | * @param string $fieldName |
||
277 | * @return self |
||
278 | */ |
||
279 | final public static function formatMessageViewHelperFieldNotFound($fieldName) |
||
289 | |||
290 | /** |
||
291 | * @code 1465243586 |
||
292 | * |
||
293 | * @param string $layoutName |
||
294 | * @return self |
||
295 | */ |
||
296 | final public static function fieldViewHelperLayoutNotFound($layoutName) |
||
306 | |||
307 | /** |
||
308 | * @code 1485867803 |
||
309 | * |
||
310 | * @param string $layoutName |
||
311 | * @param string $itemName |
||
312 | * @return self |
||
313 | */ |
||
314 | final public static function fieldViewHelperLayoutItemNotFound($layoutName, $itemName) |
||
324 | |||
325 | /** |
||
326 | * @code 1473084335 |
||
327 | * |
||
328 | * @param string $fieldName |
||
329 | * @param FormObject $formObject |
||
330 | * @return self |
||
331 | */ |
||
332 | final public static function formatMessageViewHelperFieldNotFoundInForm($fieldName, FormObject $formObject) |
||
342 | |||
343 | /** |
||
344 | * @code 1457441846 |
||
345 | * |
||
346 | * @param string $controllerObjectName |
||
347 | * @param string $actionName |
||
348 | * @param string $formName |
||
349 | * @return self |
||
350 | */ |
||
351 | final public static function controllerServiceActionFormArgumentMissing($controllerObjectName, $actionName, $formName) |
||
361 | |||
362 | /** |
||
363 | * @code 1488988452 |
||
364 | * |
||
365 | * @param string $name |
||
366 | * @return self |
||
367 | */ |
||
368 | final public static function slotClosureSlotNotFound($name) |
||
378 | |||
379 | /** |
||
380 | * @code 1489497046 |
||
381 | * |
||
382 | * @param string $name |
||
383 | * @return self |
||
384 | */ |
||
385 | final public static function slotArgumentsSlotNotFound($name) |
||
395 | |||
396 | /** |
||
397 | * @code 1490792697 |
||
398 | * |
||
399 | * @param string $name |
||
400 | * @return self |
||
401 | */ |
||
402 | final public static function argumentNotFound($name) |
||
412 | } |
||
413 |