1 | <?php |
||
25 | class EntryNotFoundException extends FormzException |
||
26 | { |
||
27 | const FIELD_NOT_FOUND = 'The field "%s" was not found in the form "%s" with class "%s".'; |
||
28 | |||
29 | const CONDITION_NOT_FOUND = 'No condition "%s" was found.'; |
||
30 | |||
31 | const VALIDATION_NOT_FOUND = 'The validation "%s" was not found. Please use the function `%s::hasValidation()` before.'; |
||
32 | |||
33 | const VIEW_LAYOUT_NOT_FOUND = 'The layout "%s" was not found. Please use the function `%s::hasLayout()` before.'; |
||
34 | |||
35 | const VIEW_CLASS_NOT_FOUND = 'The class "%s" was not found. Please use the function `%s::hasItem()` before.'; |
||
36 | |||
37 | const VALIDATION_NOT_FOUND_FOR_FIELD = 'The field "%s" does not have a rule "%s".'; |
||
38 | |||
39 | const ERROR_KEY_NOT_FOUND_FOR_VALIDATOR = 'The error key "%s" does not exist for the validator "%s".'; |
||
40 | |||
41 | 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.'; |
||
42 | |||
43 | const FIELD_VIEW_HELPER_LAYOUT_NOT_FOUND = 'The layout "%s" could not be found. Please check your TypoScript configuration.'; |
||
44 | |||
45 | const FIELD_VIEW_HELPER_LAYOUT_ITEM_NOT_FOUND = 'The layout "%s" does not have an item "%s".'; |
||
46 | |||
47 | 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.'; |
||
48 | |||
49 | const SLOT_NOT_FOUND = 'No slot "%s" was found.'; |
||
50 | |||
51 | /** |
||
52 | * @code 1488482191 |
||
53 | * |
||
54 | * @param string $name |
||
55 | * @return self |
||
56 | */ |
||
57 | final public static function conditionNotFound($name) |
||
67 | |||
68 | /** |
||
69 | * @code 1487672276 |
||
70 | * |
||
71 | * @param string $name |
||
72 | * @return self |
||
73 | */ |
||
74 | final public static function validationNotFound($name) |
||
84 | |||
85 | /** |
||
86 | * @code 1489753952 |
||
87 | * |
||
88 | * @param string $name |
||
89 | * @return self |
||
90 | */ |
||
91 | final public static function viewLayoutNotFound($name) |
||
101 | |||
102 | /** |
||
103 | * @code 1489754909 |
||
104 | * |
||
105 | * @param string $name |
||
106 | * @return self |
||
107 | */ |
||
108 | final public static function viewClassNotFound($name) |
||
118 | |||
119 | /** |
||
120 | * @code 1487672956 |
||
121 | * |
||
122 | * @param string $validationName |
||
123 | * @param string $fieldName |
||
124 | * @return EntryNotFoundException |
||
125 | */ |
||
126 | final public static function ajaxControllerValidationNotFoundForField($validationName, $fieldName) |
||
136 | |||
137 | /** |
||
138 | * @code 1487671603 |
||
139 | * |
||
140 | * @param string $fieldName |
||
141 | * @param FormObject $formObject |
||
142 | * @return EntryNotFoundException |
||
143 | */ |
||
144 | final public static function ajaxControllerFieldNotFound($fieldName, FormObject $formObject) |
||
154 | |||
155 | /** |
||
156 | * @code 1455272659 |
||
157 | * |
||
158 | * @param string $key |
||
159 | * @param AbstractValidator $validator |
||
160 | * @return EntryNotFoundException |
||
161 | */ |
||
162 | final public static function errorKeyNotFoundForValidator($key, AbstractValidator $validator) |
||
172 | |||
173 | /** |
||
174 | * @code 1487947224 |
||
175 | * |
||
176 | * @param string $fieldName |
||
177 | * @param FormObject $formObject |
||
178 | * @return EntryNotFoundException |
||
179 | */ |
||
180 | final public static function equalsToFieldValidatorFieldNotFound($fieldName, FormObject $formObject) |
||
190 | |||
191 | /** |
||
192 | * @code 1467623761 |
||
193 | * |
||
194 | * @param string $fieldName |
||
195 | * @return self |
||
196 | */ |
||
197 | final public static function classViewHelperFieldNotFound($fieldName) |
||
207 | |||
208 | /** |
||
209 | * @code 1467624152 |
||
210 | * |
||
211 | * @param string $fieldName |
||
212 | * @return self |
||
213 | */ |
||
214 | final public static function formatMessageViewHelperFieldNotFound($fieldName) |
||
224 | |||
225 | /** |
||
226 | * @code 1465243586 |
||
227 | * |
||
228 | * @param string $layoutName |
||
229 | * @return self |
||
230 | */ |
||
231 | final public static function fieldViewHelperLayoutNotFound($layoutName) |
||
241 | |||
242 | /** |
||
243 | * @code 1485867803 |
||
244 | * |
||
245 | * @param string $layoutName |
||
246 | * @param string $itemName |
||
247 | * @return EntryNotFoundException |
||
248 | */ |
||
249 | final public static function fieldViewHelperLayoutItemNotFound($layoutName, $itemName) |
||
259 | |||
260 | /** |
||
261 | * @code 1473084335 |
||
262 | * |
||
263 | * @param string $fieldName |
||
264 | * @param FormObject $formObject |
||
265 | * @return EntryNotFoundException |
||
266 | */ |
||
267 | final public static function formatMessageViewHelperFieldNotFoundInForm($fieldName, FormObject $formObject) |
||
277 | |||
278 | /** |
||
279 | * @code 1457441846 |
||
280 | * |
||
281 | * @param string $controllerObjectName |
||
282 | * @param string $actionName |
||
283 | * @param string $formName |
||
284 | * @return EntryNotFoundException |
||
285 | */ |
||
286 | final public static function controllerServiceActionFormArgumentMissing($controllerObjectName, $actionName, $formName) |
||
296 | |||
297 | /** |
||
298 | * @code 1488988452 |
||
299 | * |
||
300 | * @param string $name |
||
301 | * @return self |
||
302 | */ |
||
303 | final public static function slotClosureSlotNotFound($name) |
||
313 | |||
314 | /** |
||
315 | * @code 1489497046 |
||
316 | * |
||
317 | * @param string $name |
||
318 | * @return self |
||
319 | */ |
||
320 | final public static function slotArgumentsSlotNotFound($name) |
||
330 | } |
||
331 |