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