1 | <?php |
||
19 | class InvalidOptionValueException extends FormzException |
||
20 | { |
||
21 | const WRONG_FORM_TYPE = 'The form class must be an instance of "%s", given value: "%s".'; |
||
22 | |||
23 | const WRONG_FORM_VALUE_TYPE = 'The form given in the argument `object` of `FormViewHelper` must be an instance of "%s", given value is of type "%s".'; |
||
24 | |||
25 | const WRONG_FORM_VALUE_OBJECT_TYPE = 'The form given in the argument `object` of `FormViewHelper` must be an instance of "%s", given value is an instance of "%s".'; |
||
26 | |||
27 | const WRONG_FORM_VALUE_CLASS_NAME = 'The form given in the argument `object` of `FormViewHelper` must be an instance of "%s", given value is an instance of "%s".'; |
||
28 | |||
29 | const WRONG_BACKEND_CACHE_TYPE = 'The cache class name given in configuration "config.tx_formz.settings.defaultBackendCache" must inherit "%s" (current value: "%s")'; |
||
30 | |||
31 | /** |
||
32 | * @param string $name |
||
33 | * @return self |
||
34 | */ |
||
35 | final public static function formViewHelperWrongFormType($name) |
||
46 | |||
47 | /** |
||
48 | * @param mixed $value |
||
49 | * @return self |
||
50 | */ |
||
51 | final public static function formViewHelperWrongFormValueType($value) |
||
62 | |||
63 | /** |
||
64 | * @param object $value |
||
65 | * @return self |
||
66 | */ |
||
67 | final public static function formViewHelperWrongFormValueObjectType($value) |
||
78 | |||
79 | /** |
||
80 | * @param string $className |
||
81 | * @param object $value |
||
82 | * @return self |
||
83 | */ |
||
84 | final public static function formViewHelperWrongFormValueClassName($className, $value) |
||
95 | |||
96 | /** |
||
97 | * @param string $className |
||
98 | * @return self |
||
99 | */ |
||
100 | final public static function wrongBackendCacheType($className) |
||
111 | } |
||
112 |