1 | <?php |
||
24 | class EntryNotFoundException extends FormzException |
||
25 | { |
||
26 | const FIELD_NOT_FOUND = 'The field "%s" was not found in the form "%s" with class "%s".'; |
||
27 | |||
28 | const CONDITION_NOT_FOUND = 'No condition "%s" was found.'; |
||
29 | |||
30 | const VALIDATION_NOT_FOUND = 'The validation "%s" was not found. Please use the function `%s::hasValidation()` before.'; |
||
31 | |||
32 | const VIEW_LAYOUT_NOT_FOUND = 'The layout "%s" was not found. Please use the function `%s::hasLayout()` before.'; |
||
33 | |||
34 | const VALIDATION_NOT_FOUND_FOR_FIELD = 'The field "%s" does not have a rule "%s".'; |
||
35 | |||
36 | const ERROR_KEY_NOT_FOUND_FOR_VALIDATOR = 'The error key "%s" does not exist for the validator "%s".'; |
||
37 | |||
38 | 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.'; |
||
39 | |||
40 | const FIELD_VIEW_HELPER_LAYOUT_NOT_FOUND = 'The layout "%s" could not be found. Please check your TypoScript configuration.'; |
||
41 | |||
42 | const FIELD_VIEW_HELPER_LAYOUT_ITEM_NOT_FOUND = 'The layout "%s" does not have an item "%s".'; |
||
43 | |||
44 | 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.'; |
||
45 | |||
46 | const SLOT_NOT_FOUND = 'No slot "%s" was found.'; |
||
47 | |||
48 | /** |
||
49 | * @code 1488482191 |
||
50 | * |
||
51 | * @param string $name |
||
52 | * @return self |
||
53 | */ |
||
54 | final public static function conditionNotFound($name) |
||
64 | |||
65 | /** |
||
66 | * @code 1487672276 |
||
67 | * |
||
68 | * @param string $name |
||
69 | * @return self |
||
70 | */ |
||
71 | final public static function validationNotFound($name) |
||
81 | |||
82 | /** |
||
83 | * @code 1489753952 |
||
84 | * |
||
85 | * @param string $name |
||
86 | * @return self |
||
87 | */ |
||
88 | final public static function viewLayoutNotFound($name) |
||
98 | |||
99 | /** |
||
100 | * @code 1487672956 |
||
101 | * |
||
102 | * @param string $validationName |
||
103 | * @param string $fieldName |
||
104 | * @return EntryNotFoundException |
||
105 | */ |
||
106 | final public static function ajaxControllerValidationNotFoundForField($validationName, $fieldName) |
||
116 | |||
117 | /** |
||
118 | * @code 1487671603 |
||
119 | * |
||
120 | * @param string $fieldName |
||
121 | * @param FormObject $formObject |
||
122 | * @return EntryNotFoundException |
||
123 | */ |
||
124 | final public static function ajaxControllerFieldNotFound($fieldName, FormObject $formObject) |
||
134 | |||
135 | /** |
||
136 | * @code 1455272659 |
||
137 | * |
||
138 | * @param string $key |
||
139 | * @param AbstractValidator $validator |
||
140 | * @return EntryNotFoundException |
||
141 | */ |
||
142 | final public static function errorKeyNotFoundForValidator($key, AbstractValidator $validator) |
||
152 | |||
153 | /** |
||
154 | * @code 1487947224 |
||
155 | * |
||
156 | * @param string $fieldName |
||
157 | * @param FormObject $formObject |
||
158 | * @return EntryNotFoundException |
||
159 | */ |
||
160 | final public static function equalsToFieldValidatorFieldNotFound($fieldName, FormObject $formObject) |
||
170 | |||
171 | /** |
||
172 | * @code 1467623761 |
||
173 | * |
||
174 | * @param string $fieldName |
||
175 | * @return self |
||
176 | */ |
||
177 | final public static function classViewHelperFieldNotFound($fieldName) |
||
187 | |||
188 | /** |
||
189 | * @code 1467624152 |
||
190 | * |
||
191 | * @param string $fieldName |
||
192 | * @return self |
||
193 | */ |
||
194 | final public static function formatMessageViewHelperFieldNotFound($fieldName) |
||
204 | |||
205 | /** |
||
206 | * @code 1465243586 |
||
207 | * |
||
208 | * @param string $layoutName |
||
209 | * @return self |
||
210 | */ |
||
211 | final public static function fieldViewHelperLayoutNotFound($layoutName) |
||
221 | |||
222 | /** |
||
223 | * @code 1485867803 |
||
224 | * |
||
225 | * @param string $layoutName |
||
226 | * @param string $itemName |
||
227 | * @return EntryNotFoundException |
||
228 | */ |
||
229 | final public static function fieldViewHelperLayoutItemNotFound($layoutName, $itemName) |
||
239 | |||
240 | /** |
||
241 | * @code 1473084335 |
||
242 | * |
||
243 | * @param string $fieldName |
||
244 | * @param FormObject $formObject |
||
245 | * @return EntryNotFoundException |
||
246 | */ |
||
247 | final public static function formatMessageViewHelperFieldNotFoundInForm($fieldName, FormObject $formObject) |
||
257 | |||
258 | /** |
||
259 | * @code 1457441846 |
||
260 | * |
||
261 | * @param string $controllerObjectName |
||
262 | * @param string $actionName |
||
263 | * @param string $formName |
||
264 | * @return EntryNotFoundException |
||
265 | */ |
||
266 | final public static function controllerServiceActionFormArgumentMissing($controllerObjectName, $actionName, $formName) |
||
276 | |||
277 | /** |
||
278 | * @code 1488988452 |
||
279 | * |
||
280 | * @param string $name |
||
281 | * @return self |
||
282 | */ |
||
283 | final public static function slotClosureSlotNotFound($name) |
||
293 | |||
294 | /** |
||
295 | * @code 1489497046 |
||
296 | * |
||
297 | * @param string $name |
||
298 | * @return self |
||
299 | */ |
||
300 | final public static function slotArgumentsSlotNotFound($name) |
||
310 | } |
||
311 |