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 | * @code 1457442462 |
||
33 | * |
||
34 | * @param string $name |
||
35 | * @return self |
||
36 | */ |
||
37 | final public static function formViewHelperWrongFormType($name) |
||
47 | |||
48 | /** |
||
49 | * @code 1490713939 |
||
50 | * |
||
51 | * @param mixed $value |
||
52 | * @return self |
||
53 | */ |
||
54 | final public static function formViewHelperWrongFormValueType($value) |
||
64 | |||
65 | /** |
||
66 | * @code 1490714346 |
||
67 | * |
||
68 | * @param object $value |
||
69 | * @return self |
||
70 | */ |
||
71 | final public static function formViewHelperWrongFormValueObjectType($value) |
||
81 | |||
82 | /** |
||
83 | * @code 1490714534 |
||
84 | * |
||
85 | * @param string $className |
||
86 | * @param object $value |
||
87 | * @return self |
||
88 | */ |
||
89 | final public static function formViewHelperWrongFormValueClassName($className, $value) |
||
99 | |||
100 | /** |
||
101 | * @code 1459251263 |
||
102 | * |
||
103 | * @param string $className |
||
104 | * @return self |
||
105 | */ |
||
106 | final public static function wrongBackendCacheType($className) |
||
116 | } |
||
117 |