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

Public Member Functions

 HFile_foxpro ()
 
 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_foxpro.php.

Member Function Documentation

◆ donothing()

HFile_foxpro::donothing (   $keywordin)

Definition at line 597 of file HFile_foxpro.php.

598  {
599  return $keywordin;
600  }

◆ HFile_foxpro()

HFile_foxpro::HFile_foxpro ( )

Definition at line 9 of file HFile_foxpro.php.

References array.

10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14  // FoxPro
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", "gray", "purple");
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  "ACCEPT" => "1",
50  "ACTIVATE" => "1",
51  "ALTERNATIVE" => "1",
52  "AMERICAN" => "1",
53  "AND" => "3",
54  "ANSI" => "1",
55  "APPEND" => "1",
56  "ARRAY" => "1",
57  "AUTOSAVE" => "1",
58  "AVERAGE" => "1",
59  "BAR" => "2",
60  "BELL" => "1",
61  "BLANK" => "1",
62  "BLICK" => "1",
63  "BLOCKSIZE" => "1",
64  "BOX" => "1",
65  "BORDER" => "1",
66  "BROWSE" => "1",
67  "BRSTATUS" => "1",
68  "BUILD" => "1",
69  "EXE" => "1",
70  "PROJECT" => "1",
71  "CALCULATE" => "1",
72  "CALL" => "1",
73  "CANCEL" => "1",
74  "CARRY" => "1",
75  "CASE" => "1",
76  "CENTURY" => "1",
77  "CHANGE" => "1",
78  "CLEAR" => "1",
79  "CLOCK" => "1",
80  "CLOSE" => "1",
81  "COLLATE" => "1",
82  "COLOR" => "1",
83  "COMMAND" => "1",
84  "COMPILE" => "1",
85  "COMPATABLE" => "1",
86  "CONFIRM" => "1",
87  "CONSOLE" => "1",
88  "CONTINUE" => "1",
89  "COPY" => "1",
90  "COUNT" => "1",
91  "CPCOMPILE" => "1",
92  "CPDIALOG" => "1",
93  "CREATE" => "1",
94  "CURRENCY" => "1",
95  "CURSOR" => "1",
96  "DATABASES" => "1",
97  "DATE" => "2",
98  "DEACTIVATE" => "1",
99  "DEBUG" => "1",
100  "DECIMALS" => "1",
101  "DECLARE" => "1",
102  "DEFAULT" => "1",
103  "DEFINE" => "1",
104  "DELETE" => "1",
105  "DELETED" => "2",
106  "DELIMITERS" => "1",
107  "DEVELOPMENT" => "1",
108  "DEVICE" => "1",
109  "DIMENSION" => "1",
110  "DIR" => "1",
111  "DIRECTORY" => "1",
112  "DISPLAY" => "1",
113  "DO" => "1",
114  "DOHISTORY" => "1",
115  "ECHO" => "1",
116  "EDIT" => "1",
117  "EJECT" => "1",
118  "ELSE" => "1",
119  "ENDCASE" => "1",
120  "ENDDO" => "1",
121  "ENDFOR" => "1",
122  "ENDSCAN" => "1",
123  "ENDTEXT" => "1",
124  "ENDIF" => "1",
125  "ENDPRINTJOB" => "1",
126  "ERASE" => "1",
127  "ERROR" => "2",
128  "ESCAPE" => "1",
129  "EXACT" => "1",
130  "EXCLUSIVE" => "1",
131  "EXIT" => "1",
132  "EXPORT" => "1",
133  "EXTENDED" => "1",
134  "EXTERNAL" => "1",
135  "FIELDS" => "1",
136  "FILES" => "1",
137  "FILER" => "1",
138  "FILL" => "1",
139  "FILTER" => "2",
140  "FIND" => "1",
141  "FIXED" => "1",
142  "FORMAT" => "1",
143  "FLUSH" => "1",
144  "FOR" => "2",
145  "FROM" => "1",
146  "FULLPATH" => "2",
147  "FUNCTION" => "1",
148  "GATHER" => "1",
149  "GENERAL" => "1",
150  "GET" => "1",
151  "GETS" => "1",
152  "GETEXPR" => "1",
153  "GO" => "1",
154  "GOTO" => "1",
155  "HEADINGS" => "1",
156  "HELP" => "1",
157  "HELPFILTER" => "1",
158  "HIDE" => "1",
159  "HOURS" => "1",
160  "IF" => "1",
161  "IMPORT" => "1",
162  "INDEX" => "1",
163  "INDEXES" => "1",
164  "INPUT" => "1",
165  "INSERT" => "1",
166  "INTENSITY" => "1",
167  "JOIN" => "1",
168  "KEY" => "2",
169  "KEYBOARD" => "1",
170  "KEYCOMP" => "1",
171  "LABEL" => "1",
172  "LIBRARY" => "1",
173  "LIST" => "1",
174  "LOAD" => "1",
175  "LOCATE" => "1",
176  "LOCK" => "2",
177  "LOGERRORS" => "1",
178  "MACKEY" => "1",
179  "MACRO" => "1",
180  "MARGIN" => "1",
181  "MARK" => "1",
182  "MEMO" => "1",
183  "MEMOWIDTH" => "1",
184  "MENU" => "2",
185  "MESSAGE" => "2",
186  "MODIFY" => "1",
187  "MODULE" => "1",
188  "MOUSE" => "1",
189  "MOVE" => "1",
190  "MULTILOCKS" => "1",
191  "NEAR" => "1",
192  "NOCPTRANS" => "1",
193  "NORMALIZE" => "1",
194  "NOTE" => "1",
195  "NOTIFY" => "1",
196  "OBJECT" => "1",
197  "ODOMETER" => "1",
198  "OFF" => "1",
199  "ON" => "2",
200  "OPTIMIZE" => "1",
201  "ORDER" => "2",
202  "OTHERWISE" => "1",
203  "PAD" => "2",
204  "PAGE" => "1",
205  "PALETTE" => "1",
206  "PARAMETERS" => "2",
207  "PATH" => "1",
208  "PDSETUP" => "1",
209  "PICTURE" => "1",
210  "PLAY" => "1",
211  "POINT" => "1",
212  "POP" => "1",
213  "POPUP" => "2",
214  "PRINTER" => "1",
215  "PRINTJOB" => "1",
216  "PRIVATE" => "1",
217  "PROCEDURE" => "1",
218  "PROMPT" => "2",
219  "PUBLIC" => "1",
220  "PUSH" => "1",
221  "QUERY" => "1",
222  "READ" => "1",
223  "READBORDER" => "1",
224  "READERROR" => "1",
225  "RECALL" => "1",
226  "REGIONAL" => "1",
227  "REINDEX" => "1",
228  "RELEASE" => "1",
229  "RENAME" => "1",
230  "REPLACE" => "1",
231  "REPORT" => "1",
232  "RESTORE" => "1",
233  "RESUME" => "1",
234  "RETRY" => "1",
235  "RETURN" => "1",
236  "REFRESH" => "1",
237  "RELATION" => "2",
238  "REPROCESS" => "1",
239  "RESOURCE" => "1",
240  "RUN" => "1",
241  "SAFETY" => "1",
242  "SAVE" => "1",
243  "SAY" => "1",
244  "SCAN" => "1",
245  "SCATTER" => "1",
246  "SCHEME" => "2",
247  "SCOREBOARD" => "1",
248  "SCREEN" => "1",
249  "SEEK" => "2",
250  "SELECT" => "2",
251  "SELECTION" => "1",
252  "SEPERATOR" => "1",
253  "SET" => "2",
254  "SHADOWS" => "1",
255  "SHOW" => "1",
256  "SHUTDOWN" => "1",
257  "SIZE" => "2",
258  "SKIP" => "1",
259  "SORT" => "1",
260  "STATUS" => "1",
261  "STICKY" => "1",
262  "STEP" => "1",
263  "STORE" => "1",
264  "STRUCTURE" => "1",
265  "SUM" => "1",
266  "SUSPEND" => "1",
267  "SYSMENU" => "1",
268  "SQL" => "1",
269  "TABLE" => "1",
270  "TAG" => "2",
271  "TALK" => "1",
272  "TEXTMERGE" => "1",
273  "TEXT" => "1",
274  "TO" => "1",
275  "TOPIC" => "1",
276  "TOTAL" => "1",
277  "TRBETWEEN" => "1",
278  "TYPE" => "2",
279  "TYPEAHEAD" => "1",
280  "UDFPARAMS" => "1",
281  "UNIQUE" => "1",
282  "UNLOCK" => "1",
283  "UPDATE" => "1",
284  "USE" => "1",
285  "VIEW" => "1",
286  "WAIT" => "1",
287  "WHILE" => "1",
288  "WINDOW" => "1",
289  "WITH" => "1",
290  "ZAP" => "1",
291  "ZOOM" => "1",
292  "ABS" => "2",
293  "ACOPY" => "2",
294  "ACOS" => "2",
295  "ADEL" => "2",
296  "ADIR" => "2",
297  "AELEMENT" => "2",
298  "AFIELDS" => "2",
299  "AFONT" => "2",
300  "AINS" => "2",
301  "ALEN" => "2",
302  "ALIAS" => "2",
303  "ALLTRIM" => "2",
304  "ANSITOOEM" => "2",
305  "ASC" => "2",
306  "ASCAN" => "2",
307  "ASIN" => "2",
308  "ASORT" => "2",
309  "ASUBSCRIPT" => "2",
310  "AT" => "2",
311  "ATAN" => "2",
312  "ATC" => "2",
313  "ATCLINE" => "2",
314  "ATLINE" => "2",
315  "ATN2" => "2",
316  "BETWEEN" => "2",
317  "BOF" => "2",
318  "CAPSLOCK" => "2",
319  "CDOW" => "2",
320  "CDX" => "2",
321  "CEILING" => "2",
322  "CHR" => "2",
323  "CHRSAW" => "2",
324  "CHRTRAN" => "2",
325  "CMONTH" => "2",
326  "CNTBAR" => "2",
327  "CNTPAD" => "2",
328  "COL" => "2",
329  "COS" => "2",
330  "CPCONVERT" => "2",
331  "CPCURRENT" => "2",
332  "CPDBF" => "2",
333  "CTOD" => "2",
334  "CURDIR" => "2",
335  "DAY" => "2",
336  "DBF" => "2",
337  "DDE" => "2",
338  "DDEAbortTrans" => "2",
339  "DDEAdvise" => "2",
340  "DDEEnabled" => "2",
341  "DDEExecute" => "2",
342  "DDEInitiate" => "2",
343  "DDELastError" => "2",
344  "DDEPoke" => "2",
345  "DDERequest" => "2",
346  "DDESetOption" => "2",
347  "DDESetService" => "2",
348  "DDESetTopic" => "2",
349  "DDETerminate" => "2",
350  "DESCENDING" => "2",
351  "DIFFERENCE" => "2",
352  "DISKSPACE" => "2",
353  "DMY" => "2",
354  "DOW" => "2",
355  "DTOC" => "2",
356  "DTOR" => "2",
357  "DTOS" => "2",
358  "EMPTY" => "2",
359  "EOF" => "2",
360  "EVALUATE" => "2",
361  "EXP" => "2",
362  "FCHSIZE" => "2",
363  "FCLOSE" => "2",
364  "FCOUNT" => "2",
365  "FCREATE" => "2",
366  "FEOF" => "2",
367  "FERROR" => "2",
368  "FFLUSH" => "2",
369  "FGETS" => "2",
370  "FIELD" => "2",
371  "FILE" => "2",
372  "FKLABEL" => "2",
373  "FKMAX" => "2",
374  "FLOCK" => "2",
375  "FLOOR" => "2",
376  "FONTMETRIC" => "2",
377  "FOPEN" => "2",
378  "FOUND" => "2",
379  "FPUTS" => "2",
380  "FREAD" => "2",
381  "FSEEK" => "2",
382  "FSIZE" => "2",
383  "FV" => "2",
384  "FWRITE" => "2",
385  "GETBAR" => "2",
386  "GETDIR" => "2",
387  "GETENV" => "2",
388  "GETFILE" => "2",
389  "GETFONT" => "2",
390  "GETPAD" => "2",
391  "GOMONTH" => "2",
392  "HEADER" => "2",
393  "HOME" => "2",
394  "IDXCOLLATE" => "2",
395  "IIF" => "2",
396  "INKEY" => "2",
397  "INLIST" => "2",
398  "INSMODE" => "2",
399  "INT" => "2",
400  "ISALPHA" => "2",
401  "ISBLANK" => "2",
402  "ISCOLOR" => "2",
403  "ISDIGIT" => "2",
404  "ISLOWER" => "2",
405  "ISREADONLY" => "2",
406  "ISUPPER" => "2",
407  "KEYMATCH" => "2",
408  "LASTKEY" => "2",
409  "LEFT" => "2",
410  "LEN" => "2",
411  "LIKE" => "2",
412  "LINENO" => "2",
413  "LOCFILE" => "2",
414  "LOG" => "2",
415  "LOG10" => "2",
416  "LOOKUP" => "2",
417  "LOWER" => "2",
418  "LTRIM" => "2",
419  "LUPDATE" => "2",
420  "MAX" => "2",
421  "MCOL" => "2",
422  "MDOWN" => "2",
423  "MDX" => "2",
424  "MDY" => "2",
425  "MEMLINES" => "2",
426  "MEMORY" => "2",
427  "MIN" => "2",
428  "MLINE" => "2",
429  "MOD" => "2",
430  "MONTH" => "2",
431  "MRKBAR" => "2",
432  "MRKPAD" => "2",
433  "MROW(" => "2",
434  "MWINDOW" => "2",
435  "NDX" => "2",
436  "NUMLOCK" => "2",
437  "OBJNUM" => "2",
438  "OBJVAR" => "2",
439  "OCCURS" => "2",
440  "OEMTOANSI" => "2",
441  "OS" => "2",
442  "PACK" => "2",
443  "PADC" => "2",
444  "PADL" => "2",
445  "PADR" => "2",
446  "PAYMENT" => "2",
447  "PCOL" => "2",
448  "PI" => "2",
449  "PRINTSTATUS" => "2",
450  "PRMBAR" => "2",
451  "PRMPAD" => "2",
452  "PROGRAM" => "2",
453  "PROPER" => "2",
454  "PROW" => "2",
455  "PRTINFO�PUTFILE" => "2",
456  "PV" => "2",
457  "QUIT" => "2",
458  "RAND" => "2",
459  "RAT" => "2",
460  "RATLINE" => "2",
461  "RDLEVEL" => "2",
462  "READKEY" => "2",
463  "RECCOUNT" => "2",
464  "RECNO" => "2",
465  "RECSIZE" => "2",
466  "REPLICATE" => "2",
467  "RGBSCHEME" => "2",
468  "RIGHT" => "2",
469  "RLOCK" => "2",
470  "ROUND" => "2",
471  "ROW" => "2",
472  "RTOD" => "2",
473  "RTRIM" => "2",
474  "SCOLS" => "2",
475  "SCROLL" => "2",
476  "SECONDS" => "2",
477  "SIGN" => "2",
478  "SIN" => "2",
479  "SKPBAR" => "2",
480  "SKPPAD" => "2",
481  "SOUNDEX" => "2",
482  "SPACE" => "2",
483  "SQRT" => "2",
484  "SROWS" => "2",
485  "STR" => "2",
486  "STRTRAN" => "2",
487  "STUFF" => "2",
488  "SUBSTR" => "2",
489  "SYS" => "2",
490  "SYS(0)" => "2",
491  "SYS(1)" => "2",
492  "SYS(2)" => "2",
493  "SYS(3)" => "2",
494  "SYS(5)" => "2",
495  "SYS(6)" => "2",
496  "SYS(7)" => "2",
497  "SYS(9)" => "2",
498  "SYS(10)" => "2",
499  "SYS(11)" => "2",
500  "SYS(12)" => "2",
501  "SYS(13)" => "2",
502  "SYS(14)" => "2",
503  "SYS(15)" => "2",
504  "SYS(16)" => "2",
505  "SYS(17)" => "2",
506  "SYS(18)" => "2",
507  "SYS(20)" => "2",
508  "SYS(21)" => "2",
509  "SYS(22)" => "2",
510  "SYS(23)" => "2",
511  "SYS(24)" => "2",
512  "SYS(100)" => "2",
513  "SYS(101)" => "2",
514  "SYS(102)" => "2",
515  "SYS(103)" => "2",
516  "SYS(1001)" => "2",
517  "SYS(1016)" => "2",
518  "SYS(1037)" => "2",
519  "SYS(2000)" => "2",
520  "SYS(2001)" => "2",
521  "SYS(2002)" => "2",
522  "SYS(2003)" => "2",
523  "SYS(2004)" => "2",
524  "SYS(2005)" => "2",
525  "SYS(2006)" => "2",
526  "SYS(2007)" => "2",
527  "SYS(2008)" => "2",
528  "SYS(2009)" => "2",
529  "SYS(2010)" => "2",
530  "SYS(2011)" => "2",
531  "SYS(2012)" => "2",
532  "SYS(2013)" => "2",
533  "SYS(2014)" => "2",
534  "SYS(2015)" => "2",
535  "SYS(2016)" => "2",
536  "SYS(2017)" => "2",
537  "SYS(2018)" => "2",
538  "SYS(2019)" => "2",
539  "SYS(2020)" => "2",
540  "SYS(2021)" => "2",
541  "SYS(2022)" => "2",
542  "SYS(2023)" => "2",
543  "SYSMETRIC(" => "2",
544  "TAN" => "2",
545  "TARGET" => "2",
546  "TIME" => "2",
547  "TRANSFORM" => "2",
548  "TRIM" => "2",
549  "TXTWIDTH" => "2",
550  "UPDATED" => "2",
551  "UPPER" => "2",
552  "USED" => "2",
553  "VAL" => "2",
554  "VALID" => "2",
555  "VARREAD" => "2",
556  "VERSION" => "2",
557  "WBORDER" => "2",
558  "WCHILD" => "2",
559  "WCOLS" => "2",
560  "WEXIST" => "2",
561  "WFONT" => "2",
562  "WLAST" => "2",
563  "WLCOL" => "2",
564  "WLROW" => "2",
565  "WMAXIMUM" => "2",
566  "WMINIMUM" => "2",
567  "WONTOP" => "2",
568  "WOUTPUT" => "2",
569  "WPARENT" => "2",
570  "WREAD" => "2",
571  "WROWS" => "2",
572  "WTITLE" => "2",
573  "WVISIBLE" => "2",
574  "YEAR" => "2",
575  ".AND." => "3",
576  ".F." => "3",
577  ".NOT." => "3",
578  ".OR." => "3",
579  ".T." => "3",
580  "NOT" => "3",
581  "OR" => "3");
582 
583  // Special extensions
584 
585  // Each category can specify a PHP function that returns an altered
586  // version of the keyword.
587 
588 
589 
590  $this->linkscripts = array(
591  "1" => "donothing",
592  "3" => "donothing",
593  "2" => "donothing");
594  }
Create styles array
The data for the language used.
Definition: HFile.php:21

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