1 | <?php |
||
16 | class ClassNotFoundException extends FormzException |
||
17 | { |
||
18 | const WRONG_ASSET_HANDLER_CLASS_NAME = 'Trying to get an asset handler with a wrong class name: "%s".'; |
||
19 | |||
20 | const WRONG_FORM_CLASS_NAME = 'Invalid form class name given: "%s".'; |
||
21 | |||
22 | const FORM_VIEW_HELPER_CLASS_NOT_FOUND = 'Invalid value for the form class name (current value: "%s"). You need to either fill the parameter `formClassName` in the view helper, or specify the type of the parameter `$%s` for the method "%s::%s()".'; |
||
23 | |||
24 | const BACKEND_CACHE_CLASS_NAME_NOT_FOUND = 'The cache class name given in configuration "config.tx_formz.settings.defaultBackendCache" was not found (current value: "%s")'; |
||
25 | |||
26 | const CONDITION_CLASS_NAME_NOT_FOUND = 'The class name for the condition "%s" was not found (given value: "%s").'; |
||
27 | |||
28 | /** |
||
29 | * @code 1489602455 |
||
30 | * |
||
31 | * @param string $name |
||
32 | * @param string $className |
||
33 | * @return self |
||
34 | */ |
||
35 | final public static function conditionClassNameNotFound($name, $className) |
||
45 | |||
46 | /** |
||
47 | * @code 1477468381 |
||
48 | * |
||
49 | * @param string $className |
||
50 | * @return self |
||
51 | */ |
||
52 | final public static function wrongAssetHandlerClassName($className) |
||
62 | |||
63 | /** |
||
64 | * @code 1467191011 |
||
65 | * |
||
66 | * @param string $className |
||
67 | * @return self |
||
68 | */ |
||
69 | final public static function wrongFormClassName($className) |
||
79 | |||
80 | /** |
||
81 | * @code 1457442014 |
||
82 | * |
||
83 | * @param string $formClassName |
||
84 | * @param string $formName |
||
85 | * @param string $controller |
||
86 | * @param string $action |
||
87 | * @return ClassNotFoundException |
||
88 | */ |
||
89 | final public static function formViewHelperClassNotFound($formClassName, $formName, $controller, $action) |
||
99 | |||
100 | /** |
||
101 | * @code 1488475103 |
||
102 | * |
||
103 | * @param string $className |
||
104 | * @return self |
||
105 | */ |
||
106 | final public static function backendCacheClassNameNotFound($className) |
||
116 | |||
117 | /** |
||
118 | * @code 1490179346 |
||
119 | * |
||
120 | * @param string $className |
||
121 | * @return self |
||
122 | */ |
||
123 | final public static function ajaxControllerFormClassNameNotFound($className) |
||
133 | } |
||
134 |