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 | * @code 1487671395 |
||
26 | * |
||
27 | * @return InvalidConfigurationException |
||
28 | */ |
||
29 | final public static function ajaxControllerInvalidFormConfiguration() |
||
36 | |||
37 | /** |
||
38 | * @code 1487673434 |
||
39 | * |
||
40 | * @param string $validationName |
||
41 | * @param string $fieldName |
||
42 | * @return InvalidConfigurationException |
||
43 | */ |
||
44 | final public static function ajaxControllerAjaxValidationNotActivated($validationName, $fieldName) |
||
54 | |||
55 | /** |
||
56 | * @code 1458150438 |
||
57 | * |
||
58 | * @param string $operator |
||
59 | * @return InvalidConfigurationException |
||
60 | */ |
||
61 | final public static function wrongBooleanNodeOperator($operator) |
||
71 | } |
||
72 |