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

Public Member Functions

 HFile_nt_cmd ()
 
 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_nt_cmd.php.

Member Function Documentation

◆ donothing()

HFile_nt_cmd::donothing (   $keywordin)

Definition at line 249 of file HFile_nt_cmd.php.

250  {
251  return $keywordin;
252  }

◆ HFile_nt_cmd()

HFile_nt_cmd::HFile_nt_cmd ( )

Definition at line 9 of file HFile_nt_cmd.php.

References array.

10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14 //
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");
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  "/L10" => "",
50  "Line" => "",
51  "Comment" => "",
52  "=" => "",
53  "REM" => "",
54  "Nocase" => "",
55  "File" => "",
56  "Extensions" => "",
57  "CMD" => "",
58  "BAT" => "",
59  "append" => "1",
60  "arp" => "1",
61  "assoc" => "1",
62  "at" => "1",
63  "attrib" => "1",
64  "backup" => "1",
65  "break" => "1",
66  "buffers" => "1",
67  "COPY" => "1",
68  "cacls" => "1",
69  "chcp" => "1",
70  "chdir" => "1",
71  "chkdsk" => "1",
72  "cls" => "1",
73  "cmd" => "1",
74  "codepage" => "1",
75  "color" => "1",
76  "comp" => "1",
77  "compact" => "1",
78  "convert" => "1",
79  "copy" => "1",
80  "country" => "1",
81  "DEL" => "1",
82  "date" => "1",
83  "debug" => "1",
84  "device" => "1",
85  "devicehigh" => "1",
86  "devinfo" => "1",
87  "dir" => "1",
88  "diskcomp" => "1",
89  "diskcopy" => "1",
90  "diskperf" => "1",
91  "dos" => "1",
92  "doskey" => "1",
93  "dosonly" => "1",
94  "driveparm" => "1",
95  "edit" => "1",
96  "edlin" => "1",
97  "erase" => "1",
98  "exe2bin" => "1",
99  "exit" => "1",
100  "expand" => "1",
101  "fastopen" => "1",
102  "fc" => "1",
103  "fcbs" => "1",
104  "files" => "1",
105  "find" => "1",
106  "findstr" => "1",
107  "finger" => "1",
108  "forcedos" => "1",
109  "format" => "1",
110  "ftp" => "1",
111  "ftype" => "1",
112  "graftabl" => "1",
113  "graphics" => "1",
114  "help" => "1",
115  "hostname" => "1",
116  "install" => "1",
117  "ipconfig" => "1",
118  "ipxroute" => "1",
119  "keyb" => "1",
120  "label" => "1",
121  "lastdrive" => "1",
122  "libpath" => "1",
123  "loadfix" => "1",
124  "loadhigh" => "1",
125  "lh" => "1",
126  "lpq" => "1",
127  "lpr" => "1",
128  "mem" => "1",
129  "mkdir" => "1",
130  "md" => "1",
131  "mode" => "1",
132  "more" => "1",
133  "move" => "1",
134  "nbtstat" => "1",
135  "netstat" => "1",
136  "net" => "1",
137  "nlsfunc" => "1",
138  "nslookup" => "1",
139  "prompt" => "1",
140  "path" => "1",
141  "pax" => "1",
142  "ping" => "1",
143  "pentnt" => "1",
144  "popd" => "1",
145  "portuas" => "1",
146  "print" => "1",
147  "protshell" => "1",
148  "pushd" => "1",
149  "qbasic" => "1",
150  "rcp" => "1",
151  "recover" => "1",
152  "rename" => "1",
153  "ren" => "1",
154  "replace" => "1",
155  "restore" => "1",
156  "rexec" => "1",
157  "rmdir" => "1",
158  "rd" => "1",
159  "route" => "1",
160  "rsh" => "1",
161  "set" => "1",
162  "setver" => "1",
163  "share" => "1",
164  "shell" => "1",
165  "sort" => "1",
166  "stacks" => "1",
167  "start" => "1",
168  "subst" => "1",
169  "TYPE" => "1",
170  "tftp" => "1",
171  "time" => "1",
172  "title" => "1",
173  "tracert" => "1",
174  "tree" => "1",
175  "ver" => "1",
176  "verify" => "1",
177  "vol" => "1",
178  "XCOPY" => "1",
179  "call" => "2",
180  "EXIST" => "2",
181  "echo" => "2",
182  "endlocal" => "2",
183  "for" => "2",
184  "GOTO" => "2",
185  "IF" => "2",
186  "NOT" => "2",
187  "pause" => "2",
188  "rem" => "2",
189  "setlocal" => "2",
190  "shift" => "2",
191  "awk" => "3",
192  "arj" => "3",
193  "cat" => "3",
194  "compress" => "3",
195  "CRCNT" => "3",
196  "datetime" => "3",
197  "DEFNCOPY" => "3",
198  "dequote" => "3",
199  "DIFF" => "3",
200  "DOAT" => "3",
201  "ERR" => "3",
202  "exitcode" => "3",
203  "filesize" => "3",
204  "FINDSTR" => "3",
205  "gawk" => "3",
206  "getdrves" => "3",
207  "getunc" => "3",
208  "GLOBAL" => "3",
209  "grep" => "3",
210  "head" => "3",
211  "IFSIZE" => "3",
212  "ls" => "3",
213  "mv" => "3",
214  "perl" => "3",
215  "PKUNZIP" => "3",
216  "PKZIP" => "3",
217  "REGFIX" => "3",
218  "sawk" => "3",
219  "sed" => "3",
220  "split" => "3",
221  "tail" => "3",
222  "TEE" => "3",
223  "tr" => "3",
224  "TRANS" => "3",
225  "uniq" => "3",
226  "unzip" => "3",
227  "unarj" => "3",
228  "VALIDATE" => "3",
229  "wc" => "3",
230  "XFRM" => "3",
231  "ZIP2EXE" => "3",
232  "zip" => "3");
233 
234  // Special extensions
235 
236  // Each category can specify a PHP function that returns an altered
237  // version of the keyword.
238 
239 
240 
241  $this->linkscripts = array(
242  "" => "donothing",
243  "1" => "donothing",
244  "2" => "donothing",
245  "3" => "donothing");
246  }
Create styles array
The data for the language used.
Definition: HFile.php:21

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