ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
All Data Structures Namespaces Files Functions Variables Typedefs Modules Pages
HFile_xhtmlbasic Class Reference
+ Inheritance diagram for HFile_xhtmlbasic:
+ Collaboration diagram for HFile_xhtmlbasic:

Public Member Functions

 HFile_xhtmlbasic ()
 
 donothing ($keywordin)
 
- Public Member Functions inherited from HFile
 __construct ()
 
 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 7 of file HFile_xhtmlbasic.php.

Member Function Documentation

◆ donothing()

HFile_xhtmlbasic::donothing (   $keywordin)

Definition at line 281 of file HFile_xhtmlbasic.php.

282  {
283  return $keywordin;
284  }

◆ HFile_xhtmlbasic()

HFile_xhtmlbasic::HFile_xhtmlbasic ( )

Definition at line 9 of file HFile_xhtmlbasic.php.

References array.

10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14  // XHTML BASIC (Mobile Applications)
15  /*************************************/
16  // Flags
17 
18  $this->nocase = "0";
19  $this->notrim = "0";
20  $this->perl = "0";
21 
22  // Colours
23 
24  $this->colours = array("blue", "purple", "gray", "brown");
25  $this->quotecolour = "blue";
26  $this->blockcommentcolour = "green";
27  $this->linecommentcolour = "green";
28 
29  // Indent Strings
30 
31  $this->indent = array();
32  $this->unindent = array();
33 
34  // String characters and delimiters
35 
36  $this->stringchars = array("\"", "'");
37  $this->delimiters = array("~", "@", "$", "%", "^", "&", "*", "(", ")", "+", "=", "|", "\\", "{", "}", ";", "\"", "'", "<", ">", " ", ",", " ", ".");
38  $this->escchar = "";
39 
40  // Comment settings
41 
42  $this->linecommenton = array("");
43  $this->blockcommenton = array("<!--");
44  $this->blockcommentoff = array("-->");
45 
46  // Keywords (keyword mapping to colour number)
47 
48  $this->keywords = array(
49  "<a>" => "1",
50  "<a" => "1",
51  "</a>" => "1",
52  "<abbr>" => "1",
53  "<abbr" => "1",
54  "</abbr>" => "1",
55  "<acronym>" => "1",
56  "<acronym" => "1",
57  "</acronym>" => "1",
58  "<address>" => "1",
59  "<address" => "1",
60  "</address>" => "1",
61  "<base" => "1",
62  "<blockquote>" => "1",
63  "<blockquote" => "1",
64  "</blockquote>" => "1",
65  "<body>" => "1",
66  "<body" => "1",
67  "</body>" => "1",
68  "<br" => "1",
69  "<caption>" => "1",
70  "<caption" => "1",
71  "</caption>" => "1",
72  "<cite>" => "1",
73  "<cite" => "1",
74  "</cite>" => "1",
75  "<code>" => "1",
76  "<code" => "1",
77  "</code>" => "1",
78  "<dd>" => "1",
79  "<dd" => "1",
80  "</dd>" => "1",
81  "<dfn>" => "1",
82  "<dfn" => "1",
83  "</dfn>" => "1",
84  "<div>" => "1",
85  "<div" => "1",
86  "</div>" => "1",
87  "<dl>" => "1",
88  "<dl" => "1",
89  "</dl>" => "1",
90  "<dt>" => "1",
91  "<dt" => "1",
92  "</dt>" => "1",
93  "<em>" => "1",
94  "<em" => "1",
95  "</em>" => "1",
96  "<form>" => "1",
97  "<form" => "1",
98  "</form>" => "1",
99  "<h1>" => "1",
100  "<h1" => "1",
101  "</h1>" => "1",
102  "<h2>" => "1",
103  "<h2" => "1",
104  "</h2>" => "1",
105  "<h3>" => "1",
106  "<h3" => "1",
107  "</h3>" => "1",
108  "<h4>" => "1",
109  "<h4" => "1",
110  "</h4>" => "1",
111  "<h5>" => "1",
112  "<h5" => "1",
113  "</h5>" => "1",
114  "<h6>" => "1",
115  "<h6" => "1",
116  "</h6>" => "1",
117  "<head>" => "1",
118  "<head" => "1",
119  "</head>" => "1",
120  "<html>" => "1",
121  "<html" => "1",
122  "</html>" => "1",
123  "<img" => "1",
124  "<input" => "1",
125  "<kbd>" => "1",
126  "<kbd" => "1",
127  "</kbd>" => "1",
128  "<label>" => "1",
129  "<label" => "1",
130  "</label>" => "1",
131  "<li>" => "1",
132  "<li" => "1",
133  "</li>" => "1",
134  "<link" => "1",
135  "<meta" => "1",
136  "<object>" => "1",
137  "<object" => "1",
138  "</object>" => "1",
139  "<ol>" => "1",
140  "<ol" => "1",
141  "</ol>" => "1",
142  "<option>" => "1",
143  "<option" => "1",
144  "</option>" => "1",
145  "<p>" => "1",
146  "<p" => "1",
147  "</p>" => "1",
148  "<param" => "1",
149  "<pre>" => "1",
150  "<pre" => "1",
151  "</pre>" => "1",
152  "<q>" => "1",
153  "<q" => "1",
154  "</q>" => "1",
155  "<samp>" => "1",
156  "<samp" => "1",
157  "</samp>" => "1",
158  "<select>" => "1",
159  "<select" => "1",
160  "</select>" => "1",
161  "<span>" => "1",
162  "<span" => "1",
163  "</span>" => "1",
164  "<strong>" => "1",
165  "<strong" => "1",
166  "</strong>" => "1",
167  "<table>" => "1",
168  "<table" => "1",
169  "</table>" => "1",
170  "<td>" => "1",
171  "<td" => "1",
172  "</td>" => "1",
173  "<textarea>" => "1",
174  "<textarea" => "1",
175  "</textarea>" => "1",
176  "<th>" => "1",
177  "<th" => "1",
178  "</th>" => "1",
179  "<title>" => "1",
180  "<title" => "1",
181  "</title>" => "1",
182  "<tr>" => "1",
183  "<tr" => "1",
184  "</tr>" => "1",
185  "<ul>" => "1",
186  "<ul" => "1",
187  "</ul>" => "1",
188  "<var>" => "1",
189  "<var" => "1",
190  "</var>" => "1",
191  "abbr=" => "2",
192  "accesskey=" => "2",
193  "action=" => "2",
194  "align=" => "2",
195  "alt=" => "2",
196  "archive=" => "2",
197  "axis=" => "2",
198  "charset=" => "2",
199  "checked=" => "2",
200  "cite=" => "2",
201  "class=" => "2",
202  "classid=" => "2",
203  "codebase=" => "2",
204  "codetype=" => "2",
205  "cols=" => "2",
206  "colspan=" => "2",
207  "content=" => "2",
208  "data=" => "2",
209  "declare=" => "2",
210  "enctype=" => "2",
211  "for=" => "2",
212  "headers=" => "2",
213  "height=" => "2",
214  "href=" => "2",
215  "hreflang=" => "2",
216  "http-equiv=" => "2",
217  "id=" => "2",
218  "longdesc=" => "2",
219  "maxlength=" => "2",
220  "media=" => "2",
221  "method=" => "2",
222  "multiple=" => "2",
223  "name=" => "2",
224  "onclick=" => "2",
225  "ondblclick=" => "2",
226  "onkeydown=" => "2",
227  "onkeypress=" => "2",
228  "onkeyup=" => "2",
229  "onmousedown=" => "2",
230  "onmousemove=" => "2",
231  "onmouseout=" => "2",
232  "onmouseover=" => "2",
233  "onmouseup=" => "2",
234  "rel=" => "2",
235  "rev=" => "2",
236  "rows=" => "2",
237  "rowspan=" => "2",
238  "scheme=" => "2",
239  "scope=" => "2",
240  "selected=" => "2",
241  "size=" => "2",
242  "src=" => "2",
243  "standby=" => "2",
244  "style=" => "2",
245  "summary=" => "2",
246  "tabindex=" => "2",
247  "title=" => "2",
248  "type=" => "2",
249  "valign=" => "2",
250  "value=" => "2",
251  "valuetype=" => "2",
252  "width=" => "2",
253  "xml:lang=" => "2",
254  "xml:space=" => "2",
255  "&;" => "3",
256  "<!DOCTYPE" => "4",
257  "<![CDATA[" => "4",
258  "<?phpxml" => "4",
259  "<?phpxml-stylesheet" => "4",
260  "?>" => "4",
261  "DTD" => "4",
262  "PUBLIC" => "4",
263  "SCHEMA" => "4",
264  "]]>" => "4");
265 
266  // Special extensions
267 
268  // Each category can specify a PHP function that returns an altered
269  // version of the keyword.
270 
271 
272 
273  $this->linkscripts = array(
274  "1" => "donothing",
275  "2" => "donothing",
276  "3" => "donothing",
277  "4" => "donothing");
278  }
Create styles array
The data for the language used.
Definition: HFile.php:21

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