ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5
HFile_xhtml10 Class Reference
+ Inheritance diagram for HFile_xhtml10:
+ Collaboration diagram for HFile_xhtml10:

Public Member Functions

 HFile_xhtml10 ()
 
 donothing ($keywordin)
 
- Public Member Functions inherited from HFile
 HFile ()
 
 parse_file ($file)
 
 to_perl ($stub, $tofile=1)
 
 to_php ($stub, $tofile=1)
 
 _get_categories ()
 
 _dump_linkscripts ()
 
 _dump_perl_linkscripts ()
 
 _dump_perl_defaultscripts ()
 
 _dump_colours ()
 
 _dump_var ($variable, $name)
 
 _dump_array ($array, $name)
 
 _dump_perl_array ($array, $name)
 
 _dump_hash ($hash, $name)
 
 _dump_perl_hash ($hash, $name)
 

Detailed Description

Definition at line 5 of file HFile_xhtml10.php.

Member Function Documentation

◆ donothing()

HFile_xhtml10::donothing (   $keywordin)

Definition at line 442 of file HFile_xhtml10.php.

443 {
444  return $keywordin;
445 }

◆ HFile_xhtml10()

HFile_xhtml10::HFile_xhtml10 ( )

Definition at line 6 of file HFile_xhtml10.php.

References HFile\HFile().

6  {
7  $this->HFile();
8 /*************************************/
9 // Beautifier Highlighting Configuration File
10 // XHTML 1.0
11 /*************************************/
12 // Flags
13 
14 $this->nocase = "0";
15 $this->notrim = "0";
16 $this->perl = "0";
17 
18 // Colours
19 
20 $this->colours = array("blue", "purple", "gray", "brown", "blue");
21 $this->quotecolour = "blue";
22 $this->blockcommentcolour = "green";
23 $this->linecommentcolour = "green";
24 
25 // Indent Strings
26 
27 $this->indent = array();
28 $this->unindent = array();
29 
30 // String characters and delimiters
31 
32 $this->stringchars = array("\"", "'");
33 $this->delimiters = array("~", "@", "$", "%", "^", "&", "*", "(", ")", "+", "=", "|", "\\", "{", "}", ";", "\"", "'", "<", ">", " ", ",", " ", ".");
34 $this->escchar = "";
35 
36 // Comment settings
37 
38 $this->linecommenton = array("");
39 $this->blockcommenton = array("<!--");
40 $this->blockcommentoff = array("-->");
41 
42 // Keywords (keyword mapping to colour number)
43 
44 $this->keywords = array(
45  "<a>" => "1",
46  "<a" => "1",
47  "</a>" => "1",
48  "<abbr>" => "1",
49  "<abbr" => "1",
50  "</abbr>" => "1",
51  "<acronym>" => "1",
52  "<acronym" => "1",
53  "</acronym>" => "1",
54  "<address>" => "1",
55  "<address" => "1",
56  "</address>" => "1",
57  "<area" => "1",
58  "<b>" => "1",
59  "<b" => "1",
60  "</b>" => "1",
61  "<base" => "1",
62  "<bdo>" => "1",
63  "<bdo" => "1",
64  "</bdo>" => "1",
65  "<big>" => "1",
66  "<big" => "1",
67  "</big>" => "1",
68  "<blockquote>" => "1",
69  "<blockquote" => "1",
70  "</blockquote>" => "1",
71  "<body>" => "1",
72  "<body" => "1",
73  "</body>" => "1",
74  "<br" => "1",
75  "<button>" => "1",
76  "<button" => "1",
77  "</button>" => "1",
78  "<caption>" => "1",
79  "<caption" => "1",
80  "</caption>" => "1",
81  "<cite>" => "1",
82  "<cite" => "1",
83  "</cite>" => "1",
84  "<code>" => "1",
85  "<code" => "1",
86  "</code>" => "1",
87  "<col" => "1",
88  "<colgroup>" => "1",
89  "<colgroup" => "1",
90  "</colgroup>" => "1",
91  "<dd>" => "1",
92  "<dd" => "1",
93  "</dd>" => "1",
94  "<del>" => "1",
95  "<del" => "1",
96  "</del>" => "1",
97  "<dfn>" => "1",
98  "<dfn" => "1",
99  "</dfn>" => "1",
100  "<div>" => "1",
101  "<div" => "1",
102  "</div>" => "1",
103  "<dl>" => "1",
104  "<dl" => "1",
105  "</dl>" => "1",
106  "<dt>" => "1",
107  "<dt" => "1",
108  "</dt>" => "1",
109  "<em>" => "1",
110  "<em" => "1",
111  "</em>" => "1",
112  "<fieldset>" => "1",
113  "<fieldset" => "1",
114  "</fieldset>" => "1",
115  "<form>" => "1",
116  "<form" => "1",
117  "</form>" => "1",
118  "<frame" => "1",
119  "<frameset>" => "1",
120  "<frameset" => "1",
121  "</frameset>" => "1",
122  "<h1>" => "1",
123  "<h1" => "1",
124  "</h1>" => "1",
125  "<h2>" => "1",
126  "<h2" => "1",
127  "</h2>" => "1",
128  "<h3>" => "1",
129  "<h3" => "1",
130  "</h3>" => "1",
131  "<h4>" => "1",
132  "<h4" => "1",
133  "</h4>" => "1",
134  "<h5>" => "1",
135  "<h5" => "1",
136  "</h5>" => "1",
137  "<h6>" => "1",
138  "<h6" => "1",
139  "</h6>" => "1",
140  "<head>" => "1",
141  "<head" => "1",
142  "</head>" => "1",
143  "<hr" => "1",
144  "<html>" => "1",
145  "<html" => "1",
146  "</html>" => "1",
147  "<i>" => "1",
148  "<i" => "1",
149  "</i>" => "1",
150  "<iframe>" => "1",
151  "<iframe" => "1",
152  "</iframe>" => "1",
153  "<img" => "1",
154  "<input" => "1",
155  "<ins>" => "1",
156  "<ins" => "1",
157  "</ins>" => "1",
158  "<kbd>" => "1",
159  "<kbd" => "1",
160  "</kbd>" => "1",
161  "<label>" => "1",
162  "<label" => "1",
163  "</label>" => "1",
164  "<legend>" => "1",
165  "<legend" => "1",
166  "</legend>" => "1",
167  "<li>" => "1",
168  "<li" => "1",
169  "</li>" => "1",
170  "<link" => "1",
171  "<map>" => "1",
172  "<map" => "1",
173  "</map>" => "1",
174  "<meta" => "1",
175  "<noframes>" => "1",
176  "</noframes>" => "1",
177  "<noscript>" => "1",
178  "</noscript>" => "1",
179  "<object>" => "1",
180  "<object" => "1",
181  "</object>" => "1",
182  "<ol>" => "1",
183  "<ol" => "1",
184  "</ol>" => "1",
185  "<optgroup>" => "1",
186  "<optgroup" => "1",
187  "</optgroup>" => "1",
188  "<option>" => "1",
189  "<option" => "1",
190  "</option>" => "1",
191  "<p>" => "1",
192  "<p" => "1",
193  "</p>" => "1",
194  "<param" => "1",
195  "<pre>" => "1",
196  "<pre" => "1",
197  "</pre>" => "1",
198  "<q>" => "1",
199  "<q" => "1",
200  "</q>" => "1",
201  "<samp>" => "1",
202  "<samp" => "1",
203  "</samp>" => "1",
204  "<script>" => "1",
205  "<script" => "1",
206  "</script>" => "1",
207  "<select>" => "1",
208  "<select" => "1",
209  "</select>" => "1",
210  "<small>" => "1",
211  "<small" => "1",
212  "</small>" => "1",
213  "<span>" => "1",
214  "<span" => "1",
215  "</span>" => "1",
216  "<strong>" => "1",
217  "<strong" => "1",
218  "</strong>" => "1",
219  "<style>" => "1",
220  "<style" => "1",
221  "</style>" => "1",
222  "<sub>" => "1",
223  "<sub" => "1",
224  "</sub>" => "1",
225  "<sup>" => "1",
226  "<sup" => "1",
227  "</sup>" => "1",
228  "<table>" => "1",
229  "<table" => "1",
230  "</table>" => "1",
231  "<tbody>" => "1",
232  "<tbody" => "1",
233  "</tbody>" => "1",
234  "<td>" => "1",
235  "<td" => "1",
236  "</td>" => "1",
237  "<textarea>" => "1",
238  "<textarea" => "1",
239  "</textarea>" => "1",
240  "<tfoot>" => "1",
241  "<tfoot" => "1",
242  "</tfoot>" => "1",
243  "<th>" => "1",
244  "<th" => "1",
245  "</th>" => "1",
246  "<thead>" => "1",
247  "<thead" => "1",
248  "</thead>" => "1",
249  "<title>" => "1",
250  "<title" => "1",
251  "</title>" => "1",
252  "<tr>" => "1",
253  "<tr" => "1",
254  "</tr>" => "1",
255  "<tt>" => "1",
256  "<tt" => "1",
257  "</tt>" => "1",
258  "<ul>" => "1",
259  "<ul" => "1",
260  "</ul>" => "1",
261  "<var>" => "1",
262  "<var" => "1",
263  "</var>" => "1",
264  "//" => "1",
265  "/>" => "1",
266  ">" => "1",
267  "abbr=" => "2",
268  "accept-charset=" => "2",
269  "accept=" => "2",
270  "accesskey=" => "2",
271  "action=" => "2",
272  "align=" => "2",
273  "alt=" => "2",
274  "archive=" => "2",
275  "axis=" => "2",
276  "border=" => "2",
277  "cellpadding=" => "2",
278  "cellspacing=" => "2",
279  "char=" => "2",
280  "charoff=" => "2",
281  "charset=" => "2",
282  "checked=" => "2",
283  "cite=" => "2",
284  "class=" => "2",
285  "classid=" => "2",
286  "codebase=" => "2",
287  "codetype=" => "2",
288  "cols=" => "2",
289  "colspan=" => "2",
290  "content=" => "2",
291  "coords=" => "2",
292  "data=" => "2",
293  "datetime=" => "2",
294  "declare=" => "2",
295  "defer=" => "2",
296  "dir=" => "2",
297  "disabled=" => "2",
298  "encoding=" => "2",
299  "enctype=" => "2",
300  "for=" => "2",
301  "frame=" => "2",
302  "frameborder=" => "2",
303  "headers=" => "2",
304  "height=" => "2",
305  "href=" => "2",
306  "hreflang=" => "2",
307  "http-equiv=" => "2",
308  "id=" => "2",
309  "ismap=" => "2",
310  "label=" => "2",
311  "lang=" => "2",
312  "longdesc=" => "2",
313  "marginheight=" => "2",
314  "marginwidth=" => "2",
315  "maxlength=" => "2",
316  "media=" => "2",
317  "method=" => "2",
318  "multiple=" => "2",
319  "name=" => "2",
320  "nohref=" => "2",
321  "noresize=" => "2",
322  "onblur=" => "2",
323  "onchange=" => "2",
324  "onclick=" => "2",
325  "ondblclick=" => "2",
326  "onfocus=" => "2",
327  "onkeydown=" => "2",
328  "onkeypress=" => "2",
329  "onkeyup=" => "2",
330  "onload=" => "2",
331  "onmousedown=" => "2",
332  "onmousemove=" => "2",
333  "onmouseout=" => "2",
334  "onmouseover=" => "2",
335  "onmouseup=" => "2",
336  "onreset=" => "2",
337  "onselect=" => "2",
338  "onsubmit=" => "2",
339  "onunload=" => "2",
340  "profile=" => "2",
341  "readonly=" => "2",
342  "rel=" => "2",
343  "rev=" => "2",
344  "rows=" => "2",
345  "rowspan=" => "2",
346  "rules=" => "2",
347  "scheme=" => "2",
348  "scope=" => "2",
349  "scrolling=" => "2",
350  "selected=" => "2",
351  "shape=" => "2",
352  "size=" => "2",
353  "span=" => "2",
354  "src=" => "2",
355  "standby=" => "2",
356  "style=" => "2",
357  "summary=" => "2",
358  "tabindex=" => "2",
359  "target=" => "2",
360  "title=" => "2",
361  "type=" => "2",
362  "usemap=" => "2",
363  "valign=" => "2",
364  "value=" => "2",
365  "valuetype=" => "2",
366  "version=" => "2",
367  "width=" => "2",
368  "xmlns=" => "2",
369  "xmlns:isbn=" => "2",
370  "xml:lang=" => "2",
371  "=" => "2",
372  "<applet" => "3",
373  "</applet>" => "3",
374  "<basefont" => "3",
375  "<center>" => "3",
376  "<center" => "3",
377  "</center>" => "3",
378  "<dir>" => "3",
379  "<dir" => "3",
380  "</dir>" => "3",
381  "<font>" => "3",
382  "<font" => "3",
383  "</font>" => "3",
384  "<isindex" => "3",
385  "<menu>" => "3",
386  "<menu" => "3",
387  "</menu>" => "3",
388  "<s>" => "3",
389  "<s" => "3",
390  "<strike>" => "3",
391  "<strike" => "3",
392  "</strike>" => "3",
393  "<u>" => "3",
394  "<u" => "3",
395  "</u>" => "3",
396  "&;" => "3",
397  "<!DOCTYPE" => "4",
398  "<![CDATA[" => "4",
399  "<?phpxml" => "4",
400  "<?phpxml-stylesheet" => "4",
401  "?>" => "4",
402  "DTD" => "4",
403  "PUBLIC" => "4",
404  "SCHEMA" => "4",
405  "]]>" => "4",
406  "alink=" => "5",
407  "background=" => "5",
408  "bgcolor=" => "5",
409  "clear=" => "5",
410  "code=" => "5",
411  "color=" => "5",
412  "compact=" => "5",
413  "face=" => "5",
414  "hspace=" => "5",
415  "language=" => "5",
416  "link=" => "5",
417  "noshade=" => "5",
418  "nowrap=" => "5",
419  "object=" => "5",
420  "prompt=" => "5",
421  "start=" => "5",
422  "text=" => "5",
423  "vlink=" => "5",
424  "vspace=" => "5");
425 
426 // Special extensions
427 
428 // Each category can specify a PHP function that returns an altered
429 // version of the keyword.
430 
431 
432 
433 $this->linkscripts = array(
434  "1" => "donothing",
435  "2" => "donothing",
436  "3" => "donothing",
437  "4" => "donothing",
438  "5" => "donothing");
439 }
HFile()
Definition: HFile.php:24
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: