ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
HFile_wapscript Class Reference
+ Inheritance diagram for HFile_wapscript:
+ Collaboration diagram for HFile_wapscript:

Public Member Functions

 HFile_wapscript ()
 
 donothing ($keywordin)
 

Detailed Description

Definition at line 7 of file HFile_wapscript.php.

Member Function Documentation

◆ donothing()

HFile_wapscript::donothing (   $keywordin)

Definition at line 211 of file HFile_wapscript.php.

212 {
213 return $keywordin;
214 }

◆ HFile_wapscript()

HFile_wapscript::HFile_wapscript ( )

Definition at line 9 of file HFile_wapscript.php.

10 {
11 $this->HFile();
12 /*************************************/
13 // Beautifier Highlighting Configuration File
14 // WAPScript
15 /*************************************/
16 // Flags
17
18 $this->nocase = "1";
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 ";" => "1",
50 "access" => "1",
51 "agent" => "1",
52 "block" => "1",
53 "break" => "1",
54 "case" => "1",
55 "catch" => "1",
56 "class" => "1",
57 "Console" => "1",
58 "const" => "1",
59 "continue" => "1",
60 "debugger" => "1",
61 "defaut" => "1",
62 "delete" => "1",
63 "Dialogs" => "1",
64 "div" => "1",
65 "do" => "1",
66 "domain" => "1",
67 "else" => "1",
68 "empty" => "1",
69 "enum" => "1",
70 "export" => "1",
71 "extends" => "1",
72 "expression" => "1",
73 "extern" => "1",
74 "finally" => "1",
75 "Float" => "1",
76 "for" => "1",
77 "function" => "1",
78 "header" => "1",
79 "http" => "1",
80 "if" => "1",
81 "import" => "1",
82 "in" => "1",
83 "Lang" => "1",
84 "lib" => "1",
85 "main" => "1",
86 "meta" => "1",
87 "name" => "1",
88 "new" => "1",
89 "null" => "1",
90 "path" => "1",
91 "private" => "1",
92 "public" => "1",
93 "return" => "1",
94 "sizeot" => "1",
95 "String" => "1",
96 "super" => "1",
97 "switch" => "1",
98 "throw" => "1",
99 "this" => "1",
100 "try" => "1",
101 "typeof" => "1",
102 "URL" => "1",
103 "use" => "1",
104 "var" => "1",
105 "varialbe" => "1",
106 "void" => "1",
107 "while" => "1",
108 "with" => "1",
109 "WMLBrowser" => "1",
110 "{" => "2",
111 "}" => "2",
112 "(" => "2",
113 ")" => "2",
114 "'" => "3",
115 "\"" => "3",
116 "\\" => "3",
117 "abort" => "3",
118 "abs" => "3",
119 "alvert" => "3",
120 "cell" => "3",
121 "characterSet" => "3",
122 "charAt" => "3",
123 "compare" => "3",
124 "confirm" => "3",
125 "elementAt" => "3",
126 "elements" => "3",
127 "escapeString" => "3",
128 "exit" => "3",
129 "find" => "3",
130 "floor" => "3",
131 "format" => "3",
132 "getBase" => "3",
133 "getCurrentCard" => "3",
134 "getFragment" => "3",
135 "getHost" => "3",
136 "getParameters" => "3",
137 "getPath" => "3",
138 "getPort" => "3",
139 "getQuery" => "3",
140 "getReferer" => "3",
141 "getScheme" => "3",
142 "getVar" => "3",
143 "go" => "3",
144 "insertAt" => "3",
145 "int" => "3",
146 "isEmpty" => "3",
147 "isFloat" => "3",
148 "isInt" => "3",
149 "isValid" => "3",
150 "length" => "3",
151 "loadString" => "3",
152 "max" => "3",
153 "maxFloat" => "3",
154 "maxInt" => "3",
155 "min" => "3",
156 "minFloat" => "3",
157 "minInt" => "3",
158 "newContext" => "3",
159 "parseFloat" => "3",
160 "parseInt" => "3",
161 "pow" => "3",
162 "prev" => "3",
163 "print" => "3",
164 "println" => "3",
165 "prompt" => "3",
166 "random" => "3",
167 "refresh" => "3",
168 "removeAt" => "3",
169 "replace" => "3",
170 "replaceAt" => "3",
171 "resolve" => "3",
172 "round" => "3",
173 "seed" => "3",
174 "setVar" => "3",
175 "sqrt" => "3",
176 "squeeze" => "3",
177 "subString" => "3",
178 "toString" => "3",
179 "trim" => "3",
180 "unescapeString" => "3",
181 "+" => "4",
182 "-" => "4",
183 "=" => "4",
184 "*" => "4",
185 "//" => "4",
186 "/" => "4",
187 "%" => "4",
188 "&" => "4",
189 "<=" => "4",
190 "<" => "4",
191 ">=" => "4",
192 ">" => "4",
193 "!" => "4",
194 "|" => "4");
195
196 // Special extensions
197
198 // Each category can specify a PHP function that returns an altered
199 // version of the keyword.
200
201
202
203 $this->linkscripts = array(
204 "1" => "donothing",
205 "2" => "donothing",
206 "3" => "donothing",
207 "4" => "donothing");
208 }

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