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

Public Member Functions

 HFile_visdialog ()
 
 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_visdialog.php.

Member Function Documentation

◆ donothing()

HFile_visdialog::donothing (   $keywordin)

Definition at line 279 of file HFile_visdialog.php.

280  {
281  return $keywordin;
282  }

◆ HFile_visdialog()

HFile_visdialog::HFile_visdialog ( )

Definition at line 9 of file HFile_visdialog.php.

References array.

10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14  // Visual Dialog Script
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", "blue");
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("REM");
43  $this->blockcommenton = array("");
44  $this->blockcommentoff = array("");
45 
46  // Keywords (keyword mapping to colour number)
47 
48  $this->keywords = array(
49  "@" => "1",
50  "ALT" => "1",
51  "ASC" => "1",
52  "ASK" => "1",
53  "CHR" => "1",
54  "CLICK" => "1",
55  "COUNT" => "1",
56  "CR" => "1",
57  "CTRL" => "1",
58  "CURDIR" => "1",
59  "DATETIME" => "1",
60  "DDEITEM" => "1",
61  "DIFF" => "1",
62  "DIRDLG" => "1",
63  "DIV" => "1",
64  "DLGTEXT" => "1",
65  "ENV" => "1",
66  "EQUAL" => "1",
67  "ESC" => "1",
68  "EVENT" => "1",
69  "EXT" => "1",
70  "FILEDLG" => "1",
71  "FORMAT" => "1",
72  "GREATER" => "1",
73  "HEX" => "1",
74  "INDEX" => "1",
75  "INIREAD" => "1",
76  "INPUT" => "1",
77  "ITEM" => "1",
78  "KEY" => "1",
79  "LEN" => "1",
80  "LOWER" => "1",
81  "MATCH" => "1",
82  "MCI" => "1",
83  "MSGBOX" => "1",
84  "NAME" => "1",
85  "NEXT" => "1",
86  "NOT" => "1",
87  "NULL" => "1",
88  "NUMERIC" => "1",
89  "OK" => "1",
90  "PATH" => "1",
91  "POS" => "1",
92  "PRED" => "1",
93  "PROD" => "1",
94  "QUERY" => "1",
95  "REGREAD" => "1",
96  "RETCODE" => "1",
97  "SENDMSG" => "1",
98  "SHIFT" => "1",
99  "SHORTNAME" => "1",
100  "STRDEL" => "1",
101  "STRINS" => "1",
102  "SUBSTR" => "1",
103  "SUCC" => "1",
104  "SUM" => "1",
105  "SYSINFO" => "1",
106  "TAB" => "1",
107  "TRIM" => "1",
108  "UPPER" => "1",
109  "VERINFO" => "1",
110  "VOLINFO" => "1",
111  "WINACTIVE" => "1",
112  "WINATPOINT" => "1",
113  "WINCLASS" => "1",
114  "WINDIR" => "1",
115  "WINEXISTS" => "1",
116  "WINPOS" => "1",
117  "WINTEXT" => "1",
118  "ZERO" => "1",
119  "BEEP" => "2",
120  "CLIPBOARD" => "2",
121  "DDE" => "2",
122  "DIALOG" => "2",
123  "DIRECTORY" => "2",
124  "EXIT" => "2",
125  "EXITWIN" => "2",
126  "EXTERNAL" => "2",
127  "ELSE" => "2",
128  "END" => "2",
129  "GOSUB" => "2",
130  "GOTO" => "2",
131  "FILE" => "2",
132  "IF" => "2",
133  "INFO" => "2",
134  "INIFILE" => "2",
135  "LINK" => "2",
136  "LIST" => "2",
137  "OPTION" => "2",
138  "PARSE" => "2",
139  "PLAY" => "2",
140  "REGISTRY" => "2",
141  "REPEAT" => "2",
142  "RUN" => "2",
143  "RUNH" => "2",
144  "RUNM" => "2",
145  "RUNZ" => "2",
146  "SHELL" => "2",
147  "STOP" => "2",
148  "TITLE" => "2",
149  "UNTIL" => "2",
150  "WAIT" => "2",
151  "WARN" => "2",
152  "WINDOW" => "2",
153  "WINHELP" => "2",
154  "%" => "3",
155  "%1" => "3",
156  "%2" => "3",
157  "%3" => "3",
158  "%4" => "3",
159  "%5" => "3",
160  "%6" => "3",
161  "%7" => "3",
162  "%8" => "3",
163  "%9" => "3",
164  "%0" => "3",
165  "%10" => "3",
166  "%A" => "3",
167  "%B" => "3",
168  "%C" => "3",
169  "%D" => "3",
170  "%E" => "3",
171  "%F" => "3",
172  "%G" => "3",
173  "%H" => "3",
174  "%I" => "3",
175  "%J" => "3",
176  "%K" => "3",
177  "%L" => "3",
178  "%M" => "3",
179  "%N" => "3",
180  "%O" => "3",
181  "%P" => "3",
182  "%Q" => "3",
183  "%R" => "3",
184  "%S" => "3",
185  "%T" => "3",
186  "%U" => "3",
187  "%V" => "3",
188  "%W" => "3",
189  "%X" => "3",
190  "%Y" => "3",
191  "%Z" => "3",
192  "APPEND" => "4",
193  "ADD" => "4",
194  "ASSIGN" => "4",
195  "ACTIVATE" => "4",
196  "CLEAR" => "4",
197  "CLEARSEL" => "4",
198  "CLOSE" => "4",
199  "CREATE" => "4",
200  "CURSOR" => "4",
201  "CHANGE" => "4",
202  "COPY" => "4",
203  "DISABLE" => "4",
204  "DELETE" => "4",
205  "DROPFILES" => "4",
206  "EXECUTE" => "4",
207  "ENABLE" => "4",
208  "ERRORTRAP" => "4",
209  "FOCUS" => "4",
210  "FILELIST" => "4",
211  "FIELDSEP" => "4",
212  "FILENAMES" => "4",
213  "HIDE" => "4",
214  "INSERT" => "4",
215  "ICONIZE" => "4",
216  "LOADFILE" => "4",
217  "LOADTEXT" => "4",
218  "MAXIMIZE" => "4",
219  "NORMAL" => "4",
220  "OPEN" => "4",
221  "ONTOP" => "4",
222  "POKE" => "4",
223  "POPUP" => "4",
224  "POWEROFF" => "4",
225  "PASTE" => "4",
226  "PUT" => "4",
227  "PRIORITY" => "4",
228  "POSITION" => "4",
229  "REBOOT" => "4",
230  "RENAME" => "4",
231  "REGKEYS" => "4",
232  "REGVALS" => "4",
233  "REGBUF" => "4",
234  "SET" => "4",
235  "SHOW" => "4",
236  "SHUTDOWN" => "4",
237  "SETDATE" => "4",
238  "SETATTR" => "4",
239  "SEEK" => "4",
240  "SAVEFILE" => "4",
241  "SCALE" => "4",
242  "SKDELAY" => "4",
243  "SLEEPTIME" => "4",
244  "SEND" => "4",
245  "SETTEXT" => "4",
246  "TERMINATE" => "4",
247  "WRITE" => "4",
248  "WINLIST" => "4",
249  ",WAIT" => "4",
250  "BITMAP" => "5",
251  "BUTTON" => "5",
252  "CHECK" => "5",
253  "COMBO" => "5",
254  "DLGTYPE" => "5",
255  "EDIT" => "5",
256  "PROGRESS" => "5",
257  "RADIO" => "5",
258  "STATUS" => "5",
259  "STYLE" => "5",
260  "TASKICON" => "5",
261  "TEXT" => "5");
262 
263  // Special extensions
264 
265  // Each category can specify a PHP function that returns an altered
266  // version of the keyword.
267 
268 
269 
270  $this->linkscripts = array(
271  "1" => "donothing",
272  "2" => "donothing",
273  "3" => "donothing",
274  "4" => "donothing",
275  "5" => "donothing");
276  }
Create styles array
The data for the language used.
Definition: HFile.php:21

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