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 | * @param string $name |
||
30 | * @param string $className |
||
31 | * @return self |
||
32 | */ |
||
33 | final public static function conditionClassNameNotFound($name, $className) |
||
44 | |||
45 | /** |
||
46 | * @param string $className |
||
47 | * @return self |
||
48 | */ |
||
49 | final public static function wrongAssetHandlerClassName($className) |
||
60 | |||
61 | /** |
||
62 | * @param string $className |
||
63 | * @return self |
||
64 | */ |
||
65 | final public static function wrongFormClassName($className) |
||
76 | |||
77 | /** |
||
78 | * @param string $formClassName |
||
79 | * @param string $formName |
||
80 | * @param string $controller |
||
81 | * @param string $action |
||
82 | * @return self |
||
83 | */ |
||
84 | final public static function formViewHelperClassNotFound($formClassName, $formName, $controller, $action) |
||
95 | |||
96 | /** |
||
97 | * @param string $className |
||
98 | * @return self |
||
99 | */ |
||
100 | final public static function backendCacheClassNameNotFound($className) |
||
111 | |||
112 | /** |
||
113 | * @param string $className |
||
114 | * @return self |
||
115 | */ |
||
116 | final public static function ajaxControllerFormClassNameNotFound($className) |
||
127 | } |
||
128 |