1 | <?php |
||
24 | class ContextNotFoundException extends FormzException |
||
25 | { |
||
26 | const FORM_CONTEXT_NOT_FOUND = 'The view helper "%s" must be used inside the view helper "%s".'; |
||
27 | |||
28 | const FIELD_CONTEXT_NOT_FOUND = 'The view helper "%s" must be used inside the view helper "%s".'; |
||
29 | |||
30 | const FORM_IDENTIFIER_FORM_CONTEXT_NOT_FOUND = 'The form context was not found for the view helper "%". You must either fill the arguments `form` and `name`, or use this view helper inside "%s"'; |
||
31 | |||
32 | /** |
||
33 | * @code 1465243085 |
||
34 | * |
||
35 | * @return self |
||
36 | */ |
||
37 | final public static function fieldViewHelperFormContextNotFound() |
||
47 | |||
48 | /** |
||
49 | * @code 1465243287 |
||
50 | * |
||
51 | * @return self |
||
52 | */ |
||
53 | final public static function optionViewHelperFieldContextNotFound() |
||
63 | |||
64 | /** |
||
65 | * @code 1488473956 |
||
66 | * |
||
67 | * @return self |
||
68 | */ |
||
69 | final public static function slotRenderViewHelperFieldContextNotFound() |
||
79 | |||
80 | /** |
||
81 | * @code 1488474106 |
||
82 | * |
||
83 | * @return self |
||
84 | */ |
||
85 | final public static function slotViewHelperFieldContextNotFound() |
||
95 | |||
96 | /** |
||
97 | * @code 1488988566 |
||
98 | * |
||
99 | * @return self |
||
100 | */ |
||
101 | final public static function slotHasViewHelperFieldContextNotFound() |
||
111 | |||
112 | /** |
||
113 | * @code 1490960228 |
||
114 | * |
||
115 | * @return self |
||
116 | */ |
||
117 | final public static function formIdentifierViewHelperFormContextNotFound() |
||
127 | } |
||
128 |