1 | <?php |
||
16 | class InvalidConfigurationException extends FormzException |
||
17 | { |
||
18 | const INVALID_FORM_CONFIGURATION = 'The form configuration contains errors.'; |
||
19 | |||
20 | const AJAX_VALIDATION_NOT_ACTIVATED = 'The validation "%s" of the field "%s" is not configured to work with Ajax. Please add the option `useAjax`.'; |
||
21 | |||
22 | const WRONG_BOOLEAN_NODE_OPERATOR = 'The boolean node has a wrong operator: "%s".'; |
||
23 | |||
24 | /** |
||
25 | * @return self |
||
26 | */ |
||
27 | final public static function ajaxControllerInvalidFormConfiguration() |
||
34 | |||
35 | /** |
||
36 | * @param string $validationName |
||
37 | * @param string $fieldName |
||
38 | * @return self |
||
39 | */ |
||
40 | final public static function ajaxControllerAjaxValidationNotActivated($validationName, $fieldName) |
||
51 | |||
52 | /** |
||
53 | * @param string $operator |
||
54 | * @return self |
||
55 | */ |
||
56 | final public static function wrongBooleanNodeOperator($operator) |
||
67 | } |
||
68 |