1 | <?php |
||
29 | abstract class CMD_Parse |
||
30 | { |
||
31 | /** |
||
32 | * Store view driver for boxes |
||
33 | **/ |
||
34 | private static $_view = null; |
||
35 | |||
36 | /** |
||
37 | * Enhance problem details for unknown calls |
||
38 | * |
||
39 | * @param string $name Method name |
||
40 | * @param array $arguments Method parameters |
||
41 | * |
||
42 | * @throws \Exception |
||
43 | * |
||
44 | * @return void |
||
45 | **/ |
||
|
|||
46 | |||
47 | public static function __callStatic($name, array $arguments) |
||
53 | |||
54 | /** |
||
55 | * Include prepared boxes |
||
56 | * |
||
57 | * @param array $part Placeholder cmd and key, maybe even more |
||
58 | * @param array $data Array with data to use in the template |
||
59 | * |
||
60 | * @return string |
||
61 | **/ |
||
62 | |||
63 | public static function box(array $part, array $data) |
||
91 | |||
92 | /** |
||
93 | * Datetime replaces extendable by zone |
||
94 | * |
||
95 | * @param array $part Placeholder cmd and key, maybe even more |
||
96 | * @param array $data Array with data to use in the template |
||
97 | * |
||
98 | * @return string |
||
99 | **/ |
||
100 | |||
101 | public static function datetime(array $part, array $data) |
||
112 | |||
113 | /** |
||
114 | * Date replaces extendable by zone |
||
115 | * |
||
116 | * @param array $part Placeholder cmd and key, maybe even more |
||
117 | * @param array $data Array with data to use in the template |
||
118 | * |
||
119 | * @return string |
||
120 | **/ |
||
121 | |||
122 | public static function date(array $part, array $data) |
||
133 | |||
134 | /** |
||
135 | * Time replaces extendable by zone |
||
136 | * |
||
137 | * @param array $part Placeholder cmd and key, maybe even more |
||
138 | * @param array $data Array with data to use in the template |
||
139 | * |
||
140 | * @return string |
||
141 | **/ |
||
142 | |||
143 | public static function time(array $part, array $data) |
||
154 | |||
155 | /** |
||
156 | * Debug info for template data |
||
157 | * |
||
158 | * @param array $part Placeholder cmd and key, maybe even more |
||
159 | * @param array $data Array with data to use in the template |
||
160 | * |
||
161 | * @return string |
||
162 | **/ |
||
163 | |||
164 | public static function debug(array $part, array $data) |
||
191 | |||
192 | /** |
||
193 | * Placeholder right before form ends |
||
194 | * |
||
195 | * @param array $part Placeholder cmd and key, maybe even more |
||
196 | * @param array $data Array with data to use in the template |
||
197 | * |
||
198 | * @return string |
||
199 | **/ |
||
200 | |||
201 | public static function form(array $part, array $data) |
||
210 | } |
||
211 |