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

Public Member Functions

 HFile_javascript_wmls ()
 
 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_javascript-wmls.php.

Member Function Documentation

◆ donothing()

HFile_javascript_wmls::donothing (   $keywordin)

Definition at line 617 of file HFile_javascript-wmls.php.

618 {
619  return $keywordin;
620 }

◆ HFile_javascript_wmls()

HFile_javascript_wmls::HFile_javascript_wmls ( )

Definition at line 6 of file HFile_javascript-wmls.php.

References HFile\HFile().

6  {
7  $this->HFile();
8 /*************************************/
9 // Beautifier Highlighting Configuration File
10 // JavaScript/WMLS
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", "brown");
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  "abstract" => "1",
46  "break" => "1",
47  "byte" => "1",
48  "case" => "1",
49  "catch" => "1",
50  "char" => "1",
51  "class" => "1",
52  "const" => "1",
53  "continue" => "1",
54  "default" => "1",
55  "delete" => "1",
56  "do" => "1",
57  "double" => "1",
58  "else" => "1",
59  "extends" => "1",
60  "false" => "1",
61  "final" => "1",
62  "finally" => "1",
63  "float" => "1",
64  "for" => "1",
65  "function" => "1",
66  "goto" => "1",
67  "if" => "1",
68  "implements" => "1",
69  "import" => "1",
70  "in" => "1",
71  "instanceof" => "1",
72  "int" => "1",
73  "interface" => "1",
74  "long" => "1",
75  "native" => "1",
76  "new" => "1",
77  "null" => "1",
78  "package" => "1",
79  "private" => "1",
80  "protected" => "1",
81  "public" => "1",
82  "reset" => "1",
83  "return" => "1",
84  "short" => "1",
85  "static" => "1",
86  "super" => "1",
87  "switch" => "1",
88  "synchronized" => "1",
89  "this" => "1",
90  "throw" => "1",
91  "transient" => "1",
92  "true" => "1",
93  "try" => "1",
94  "var" => "1",
95  "void" => "1",
96  "while" => "1",
97  "with" => "1",
98  "$n" => "2",
99  "abort" => "2",
100  "above" => "2",
101  "abs" => "2",
102  "acos" => "2",
103  "action" => "2",
104  "activeElement" => "2",
105  "alert" => "2",
106  "alinkColor" => "2",
107  "all" => "2",
108  "altKey" => "2",
109  "anchor" => "2",
110  "anchors" => "2",
111  "appCodeName" => "2",
112  "applet" => "2",
113  "applets" => "2",
114  "apply" => "2",
115  "appName" => "2",
116  "appVersion" => "2",
117  "arguments" => "2",
118  "arity" => "2",
119  "asin" => "2",
120  "assign" => "2",
121  "atan" => "2",
122  "atan2" => "2",
123  "atob" => "2",
124  "availHeight" => "2",
125  "availLeft" => "2",
126  "availTop" => "2",
127  "availWidth" => "2",
128  "Area" => "2",
129  "Arguments" => "2",
130  "Array" => "2",
131  "back" => "2",
132  "background" => "2",
133  "below" => "2",
134  "bgColor" => "2",
135  "big" => "2",
136  "blink" => "2",
137  "blur" => "2",
138  "bold" => "2",
139  "border" => "2",
140  "borderWidths" => "2",
141  "bottom" => "2",
142  "btoa" => "2",
143  "button" => "2",
144  "Boolean" => "2",
145  "call" => "2",
146  "callee" => "2",
147  "caller" => "2",
148  "cancelBubble" => "2",
149  "captureEvents" => "2",
150  "ceil" => "2",
151  "charAt" => "2",
152  "charCodeAt" => "2",
153  "characterSet" => "2",
154  "charset" => "2",
155  "checked" => "2",
156  "children" => "2",
157  "classes" => "2",
158  "className" => "2",
159  "clear" => "2",
160  "clearInterval" => "2",
161  "clearTimeout" => "2",
162  "click" => "2",
163  "clientInformation" => "2",
164  "clientX" => "2",
165  "clientY" => "2",
166  "close" => "2",
167  "closed" => "2",
168  "closeFile" => "2",
169  "colorDepth" => "2",
170  "compare" => "2",
171  "compile" => "2",
172  "complete" => "2",
173  "concat" => "2",
174  "confirm" => "2",
175  "constructor" => "2",
176  "contains" => "2",
177  "contextual" => "2",
178  "cookie" => "2",
179  "cos" => "2",
180  "crypto" => "2",
181  "ctrlKey" => "2",
182  "current" => "2",
183  "Checkbox" => "2",
184  "data" => "2",
185  "defaultCharset" => "2",
186  "defaultChecked" => "2",
187  "defaultSelected" => "2",
188  "defaultStatus" => "2",
189  "defaultValue" => "2",
190  "description" => "2",
191  "disableExternalCapture" => "2",
192  "disablePrivilege" => "2",
193  "document" => "2",
194  "domain" => "2",
195  "Date" => "2",
196  "Dialogs" => "2",
197  "element" => "2",
198  "elementAt" => "2",
199  "elements" => "2",
200  "embeds" => "2",
201  "enabledPlugin" => "2",
202  "enableExternalCapture" => "2",
203  "enablePrivilege" => "2",
204  "encoding" => "2",
205  "escape" => "2",
206  "escapeString" => "2",
207  "eval" => "2",
208  "event" => "2",
209  "exec" => "2",
210  "exp" => "2",
211  "expando" => "2",
212  "extern" => "2",
213  "E" => "2",
214  "fgColor" => "2",
215  "fileName" => "2",
216  "find" => "2",
217  "fixed" => "2",
218  "floor" => "2",
219  "focus" => "2",
220  "fontColor" => "2",
221  "fontSize" => "2",
222  "form" => "2",
223  "format" => "2",
224  "forms" => "2",
225  "forward" => "2",
226  "frames" => "2",
227  "fromCharCode" => "2",
228  "fromElement" => "2",
229  "fromPoint" => "2",
230  "Function" => "2",
231  "FileUpload" => "2",
232  "Float" => "2",
233  "Frame" => "2",
234  "getAttribute" => "2",
235  "get" => "2",
236  "getBase" => "2",
237  "getClass" => "2",
238  "getCurrentCard" => "2",
239  "getDate" => "2",
240  "getDay" => "2",
241  "getFragment" => "2",
242  "getFullYear" => "2",
243  "getHost" => "2",
244  "getHours" => "2",
245  "getMember" => "2",
246  "getMilliseconds" => "2",
247  "getMinutes" => "2",
248  "getMonth" => "2",
249  "getParameters" => "2",
250  "getPath" => "2",
251  "getPort" => "2",
252  "getQuery" => "2",
253  "getReferer" => "2",
254  "getScheme" => "2",
255  "getSeconds" => "2",
256  "getSelection" => "2",
257  "getSlot" => "2",
258  "getTime" => "2",
259  "getTimezoneOffset" => "2",
260  "getUTCDate" => "2",
261  "getUTCDay" => "2",
262  "getUTCFullYear" => "2",
263  "getUTCHours" => "2",
264  "getUTCMilliseconds" => "2",
265  "getUTCMinutes" => "2",
266  "getUTCMonth" => "2",
267  "getUTCSeconds" => "2",
268  "getVar" => "2",
269  "getWindow" => "2",
270  "getYear" => "2",
271  "global" => "2",
272  "go" => "2",
273  "handleEvent" => "2",
274  "hash" => "2",
275  "hidden" => "2",
276  "history" => "2",
277  "home" => "2",
278  "host" => "2",
279  "hostName" => "2",
280  "href" => "2",
281  "hspace" => "2",
282  "HTMLElement" => "2",
283  "id" => "2",
284  "ids" => "2",
285  "ignoreCase" => "2",
286  "images" => "2",
287  "index" => "2",
288  "indexOf" => "2",
289  "innerHeight" => "2",
290  "innerHTML" => "2",
291  "innerText" => "2",
292  "innerWidth" => "2",
293  "insertAdjacentHTML" => "2",
294  "insertAdjacentText" => "2",
295  "insertAt" => "2",
296  "isEmpty" => "2",
297  "isFinite" => "2",
298  "isFloat" => "2",
299  "isInt" => "2",
300  "isNAN" => "2",
301  "isValid" => "2",
302  "italics" => "2",
303  "Image" => "2",
304  "Infinity" => "2",
305  "Input" => "2",
306  "java" => "2",
307  "javaEnabled" => "2",
308  "join" => "2",
309  "JavaArray" => "2",
310  "JavaClass" => "2",
311  "JavaObject" => "2",
312  "JavaPackage" => "2",
313  "JSObject" => "2",
314  "keyCode" => "2",
315  "lang" => "2",
316  "language" => "2",
317  "lastIndex" => "2",
318  "lastIndexOf" => "2",
319  "lastMatch" => "2",
320  "lastModified" => "2",
321  "lastParen" => "2",
322  "layers" => "2",
323  "layerX" => "2",
324  "layerY" => "2",
325  "left" => "2",
326  "leftContext" => "2",
327  "length" => "2",
328  "link" => "2",
329  "linkColor" => "2",
330  "load" => "2",
331  "loadString" => "2",
332  "location" => "2",
333  "locationBar" => "2",
334  "log" => "2",
335  "lowsrc" => "2",
336  "Layer" => "2",
337  "Links" => "2",
338  "LN10" => "2",
339  "LN2" => "2",
340  "LOG10E" => "2",
341  "LOG2E" => "2",
342  "margins" => "2",
343  "match" => "2",
344  "max" => "2",
345  "maxFloat" => "2",
346  "maxInt" => "2",
347  "menubar" => "2",
348  "method" => "2",
349  "mimeTypes" => "2",
350  "min" => "2",
351  "minFloat" => "2",
352  "minInt" => "2",
353  "modifiers" => "2",
354  "moveAbove" => "2",
355  "moveBelow" => "2",
356  "moveBy" => "2",
357  "moveTo" => "2",
358  "moveToAbsolute" => "2",
359  "multiline" => "2",
360  "Math" => "2",
361  "MAX_VALUE" => "2",
362  "MimeType" => "2",
363  "MIN_VALUE" => "2",
364  "name" => "2",
365  "navigate" => "2",
366  "navigator" => "2",
367  "netscape" => "2",
368  "newContext" => "2",
369  "next" => "2",
370  "Number" => "2",
371  "NaN" => "2",
372  "NEGATIVE_INFINITY" => "2",
373  "offscreenBuffering" => "2",
374  "offset" => "2",
375  "offsetHeight" => "2",
376  "offsetLeft" => "2",
377  "offsetParent" => "2",
378  "offsetTop" => "2",
379  "offsetWidth" => "2",
380  "offsetX" => "2",
381  "offsetY" => "2",
382  "onabort" => "2",
383  "onblur" => "2",
384  "onchange" => "2",
385  "onclick" => "2",
386  "ondblclick" => "2",
387  "ondragdrop" => "2",
388  "onerror" => "2",
389  "onfocus" => "2",
390  "onHelp" => "2",
391  "onkeydown" => "2",
392  "onkeypress" => "2",
393  "onkeyup" => "2",
394  "onload" => "2",
395  "onmousedown" => "2",
396  "onmousemove" => "2",
397  "onmouseout" => "2",
398  "onmouseover" => "2",
399  "onmouseup" => "2",
400  "onmove" => "2",
401  "onreset" => "2",
402  "onresize" => "2",
403  "onsubmit" => "2",
404  "onunload" => "2",
405  "open" => "2",
406  "opener" => "2",
407  "openFile" => "2",
408  "options" => "2",
409  "outerHeight" => "2",
410  "outerHTML" => "2",
411  "outerText" => "2",
412  "outerWidth" => "2",
413  "Object" => "2",
414  "Option" => "2",
415  "paddings" => "2",
416  "pageX" => "2",
417  "pageXOffset" => "2",
418  "pageY" => "2",
419  "pageYOffset" => "2",
420  "parent" => "2",
421  "parentElement" => "2",
422  "parentLayer" => "2",
423  "parentWindow" => "2",
424  "parse" => "2",
425  "parseFloat" => "2",
426  "parseInt" => "2",
427  "pathname" => "2",
428  "personalbar" => "2",
429  "pixelDepth" => "2",
430  "platform" => "2",
431  "plugins" => "2",
432  "pop" => "2",
433  "port" => "2",
434  "pow" => "2",
435  "preference" => "2",
436  "prev" => "2",
437  "previous" => "2",
438  "print" => "2",
439  "printIn" => "2",
440  "prompt" => "2",
441  "protocol" => "2",
442  "prototype" => "2",
443  "push" => "2",
444  "Packages" => "2",
445  "Password" => "2",
446  "PI" => "2",
447  "Plugin" => "2",
448  "POSITIVE_INFINITY" => "2",
449  "PrivilegeManager" => "2",
450  "random" => "2",
451  "readyState" => "2",
452  "reason" => "2",
453  "referrer" => "2",
454  "refresh" => "2",
455  "releaseEvents" => "2",
456  "reload" => "2",
457  "removeAt" => "2",
458  "removeAttribute" => "2",
459  "removeMember" => "2",
460  "replace" => "2",
461  "replaceAt" => "2",
462  "resizeBy" => "2",
463  "resizeTo" => "2",
464  "resolve" => "2",
465  "returnValue" => "2",
466  "reverse" => "2",
467  "right" => "2",
468  "rightcontext" => "2",
469  "round" => "2",
470  "RegExp" => "2",
471  "screenX" => "2",
472  "screenY" => "2",
473  "scroll" => "2",
474  "scrollbars" => "2",
475  "scrollBy" => "2",
476  "scrollIntoView" => "2",
477  "scrollTo" => "2",
478  "search" => "2",
479  "seed" => "2",
480  "select" => "2",
481  "selected" => "2",
482  "selectedIndex" => "2",
483  "self" => "2",
484  "setAttribute" => "2",
485  "setDay" => "2",
486  "setFullYear" => "2",
487  "setHotkeys" => "2",
488  "setHours" => "2",
489  "setInterval" => "2",
490  "setMember" => "2",
491  "setMilliseconds" => "2",
492  "setMinutes" => "2",
493  "setMonth" => "2",
494  "setResizable" => "2",
495  "setSeconds" => "2",
496  "setSlot" => "2",
497  "setTime" => "2",
498  "setTimeout" => "2",
499  "setUTCDate" => "2",
500  "setUTCFullYear" => "2",
501  "setUTCHours" => "2",
502  "setUTCMillseconds" => "2",
503  "setUTCMinutes" => "2",
504  "setUTCMonth" => "2",
505  "setUTCSeconds" => "2",
506  "setVar" => "2",
507  "setYear" => "2",
508  "setZOptions" => "2",
509  "shift" => "2",
510  "shiftKey" => "2",
511  "siblingAbove" => "2",
512  "siblingBelow" => "2",
513  "signText" => "2",
514  "sin" => "2",
515  "slice" => "2",
516  "smallsort" => "2",
517  "source" => "2",
518  "sourceIndex" => "2",
519  "splice" => "2",
520  "split" => "2",
521  "squeeze" => "2",
522  "sqrt" => "2",
523  "src" => "2",
524  "srcElement" => "2",
525  "srcFilter" => "2",
526  "status" => "2",
527  "statusbar" => "2",
528  "stop" => "2",
529  "strike" => "2",
530  "style" => "2",
531  "sub" => "2",
532  "submit" => "2",
533  "substr" => "2",
534  "substring" => "2",
535  "suffixes" => "2",
536  "sun" => "2",
537  "sup" => "2",
538  "systemLanguage" => "2",
539  "Screen" => "2",
540  "SQRT1_2" => "2",
541  "SQRT2" => "2",
542  "String" => "2",
543  "tagName" => "2",
544  "tags" => "2",
545  "taint" => "2",
546  "taintEnabled" => "2",
547  "tan" => "2",
548  "target" => "2",
549  "test" => "2",
550  "text" => "2",
551  "title" => "2",
552  "toElement" => "2",
553  "toGMTString" => "2",
554  "toLocaleString" => "2",
555  "toLowerCase" => "2",
556  "toolbar" => "2",
557  "top" => "2",
558  "toString" => "2",
559  "toUpperCase" => "2",
560  "toUTCString" => "2",
561  "trim" => "2",
562  "type" => "2",
563  "typeOf" => "2",
564  "Textarea" => "2",
565  "TYPE" => "2",
566  "unescape" => "2",
567  "unescapeString" => "2",
568  "unshift" => "2",
569  "untaint" => "2",
570  "unwatch" => "2",
571  "userAgent" => "2",
572  "userLanguage" => "2",
573  "URL" => "2",
574  "UTC" => "2",
575  "value" => "2",
576  "valueOf" => "2",
577  "visibility" => "2",
578  "vlinkColor" => "2",
579  "vspace" => "2",
580  "watch" => "2",
581  "which" => "2",
582  "width" => "2",
583  "window" => "2",
584  "write" => "2",
585  "writeln" => "2",
586  "WMLBrowser" => "2",
587  "x" => "2",
588  "y" => "2",
589  "zIndex" => "2",
590  "+" => "4",
591  "-" => "4",
592  "=" => "4",
593  "//" => "4",
594  "/" => "4",
595  "%" => "4",
596  "&" => "4",
597  ">" => "4",
598  "<" => "4",
599  "^" => "4",
600  "!" => "4",
601  "|" => "4");
602 
603 // Special extensions
604 
605 // Each category can specify a PHP function that returns an altered
606 // version of the keyword.
607 
608 
609 
610 $this->linkscripts = array(
611  "1" => "donothing",
612  "2" => "donothing",
613  "4" => "donothing");
614 }
HFile()
Definition: HFile.php:24
+ Here is the call graph for this function:

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