1 | <?php |
||
26 | class EntryNotFoundException extends FormzException |
||
27 | { |
||
28 | const FIELD_NOT_FOUND = 'The field "%s" was not found in the form "%s" with class "%s".'; |
||
29 | |||
30 | const CONDITION_NOT_FOUND = 'No condition "%s" was found.'; |
||
31 | |||
32 | const VALIDATION_NOT_FOUND = 'The validation "%s" was not found. Please use the function `%s::hasValidation()` before.'; |
||
33 | |||
34 | const VIEW_LAYOUT_NOT_FOUND = 'The layout "%s" was not found. Please use the function `%s::hasLayout()` before.'; |
||
35 | |||
36 | const VIEW_LAYOUT_ITEM_NOT_FOUND = 'The layout item "%s" was not found. Please use the function `%s::hasItem()` before.'; |
||
37 | |||
38 | const VIEW_CLASS_NOT_FOUND = 'The class "%s" was not found. Please use the function `%s::hasItem()` before.'; |
||
39 | |||
40 | const VALIDATION_NOT_FOUND_FOR_FIELD = 'The field "%s" does not have a rule "%s".'; |
||
41 | |||
42 | const ERROR_KEY_NOT_FOUND_FOR_VALIDATOR = 'The error key "%s" does not exist for the validator "%s".'; |
||
43 | |||
44 | 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.'; |
||
45 | |||
46 | const FIELD_VIEW_HELPER_LAYOUT_NOT_FOUND = 'The layout "%s" could not be found. Please check your TypoScript configuration.'; |
||
47 | |||
48 | const FIELD_VIEW_HELPER_LAYOUT_ITEM_NOT_FOUND = 'The layout "%s" does not have an item "%s".'; |
||
49 | |||
50 | 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.'; |
||
51 | |||
52 | const SLOT_NOT_FOUND = 'No slot "%s" was found.'; |
||
53 | |||
54 | /** |
||
55 | * @code 1488482191 |
||
56 | * |
||
57 | * @param string $name |
||
58 | * @return self |
||
59 | */ |
||
60 | final public static function conditionNotFound($name) |
||
70 | |||
71 | /** |
||
72 | * @code 1487672276 |
||
73 | * |
||
74 | * @param string $name |
||
75 | * @return self |
||
76 | */ |
||
77 | final public static function validationNotFound($name) |
||
87 | |||
88 | /** |
||
89 | * @code 1489753952 |
||
90 | * |
||
91 | * @param string $name |
||
92 | * @return self |
||
93 | */ |
||
94 | final public static function viewLayoutNotFound($name) |
||
104 | |||
105 | /** |
||
106 | * @code 1489757511 |
||
107 | * |
||
108 | * @param string $name |
||
109 | * @return self |
||
110 | */ |
||
111 | final public static function viewLayoutItemNotFound($name) |
||
121 | |||
122 | /** |
||
123 | * @code 1489754909 |
||
124 | * |
||
125 | * @param string $name |
||
126 | * @return self |
||
127 | */ |
||
128 | final public static function viewClassNotFound($name) |
||
138 | |||
139 | /** |
||
140 | * @code 1487672956 |
||
141 | * |
||
142 | * @param string $validationName |
||
143 | * @param string $fieldName |
||
144 | * @return EntryNotFoundException |
||
145 | */ |
||
146 | final public static function ajaxControllerValidationNotFoundForField($validationName, $fieldName) |
||
156 | |||
157 | /** |
||
158 | * @code 1487671603 |
||
159 | * |
||
160 | * @param string $fieldName |
||
161 | * @param FormObject $formObject |
||
162 | * @return EntryNotFoundException |
||
163 | */ |
||
164 | final public static function ajaxControllerFieldNotFound($fieldName, FormObject $formObject) |
||
174 | |||
175 | /** |
||
176 | * @code 1455272659 |
||
177 | * |
||
178 | * @param string $key |
||
179 | * @param AbstractValidator $validator |
||
180 | * @return EntryNotFoundException |
||
181 | */ |
||
182 | final public static function errorKeyNotFoundForValidator($key, AbstractValidator $validator) |
||
192 | |||
193 | /** |
||
194 | * @code 1487947224 |
||
195 | * |
||
196 | * @param string $fieldName |
||
197 | * @param FormObject $formObject |
||
198 | * @return EntryNotFoundException |
||
199 | */ |
||
200 | final public static function equalsToFieldValidatorFieldNotFound($fieldName, FormObject $formObject) |
||
210 | |||
211 | /** |
||
212 | * @code 1467623761 |
||
213 | * |
||
214 | * @param string $fieldName |
||
215 | * @return self |
||
216 | */ |
||
217 | final public static function classViewHelperFieldNotFound($fieldName) |
||
227 | |||
228 | /** |
||
229 | * @code 1467624152 |
||
230 | * |
||
231 | * @param string $fieldName |
||
232 | * @return self |
||
233 | */ |
||
234 | final public static function formatMessageViewHelperFieldNotFound($fieldName) |
||
244 | |||
245 | /** |
||
246 | * @code 1465243586 |
||
247 | * |
||
248 | * @param string $layoutName |
||
249 | * @return self |
||
250 | */ |
||
251 | final public static function fieldViewHelperLayoutNotFound($layoutName) |
||
261 | |||
262 | /** |
||
263 | * @code 1485867803 |
||
264 | * |
||
265 | * @param string $layoutName |
||
266 | * @param string $itemName |
||
267 | * @return EntryNotFoundException |
||
268 | */ |
||
269 | final public static function fieldViewHelperLayoutItemNotFound($layoutName, $itemName) |
||
279 | |||
280 | /** |
||
281 | * @code 1473084335 |
||
282 | * |
||
283 | * @param string $fieldName |
||
284 | * @param FormObject $formObject |
||
285 | * @return EntryNotFoundException |
||
286 | */ |
||
287 | final public static function formatMessageViewHelperFieldNotFoundInForm($fieldName, FormObject $formObject) |
||
297 | |||
298 | /** |
||
299 | * @code 1457441846 |
||
300 | * |
||
301 | * @param string $controllerObjectName |
||
302 | * @param string $actionName |
||
303 | * @param string $formName |
||
304 | * @return EntryNotFoundException |
||
305 | */ |
||
306 | final public static function controllerServiceActionFormArgumentMissing($controllerObjectName, $actionName, $formName) |
||
316 | |||
317 | /** |
||
318 | * @code 1488988452 |
||
319 | * |
||
320 | * @param string $name |
||
321 | * @return self |
||
322 | */ |
||
323 | final public static function slotClosureSlotNotFound($name) |
||
333 | |||
334 | /** |
||
335 | * @code 1489497046 |
||
336 | * |
||
337 | * @param string $name |
||
338 | * @return self |
||
339 | */ |
||
340 | final public static function slotArgumentsSlotNotFound($name) |
||
350 | } |
||
351 |