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

Public Member Functions

 HFile_amtrix ()
 
 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_amtrix.php.

Member Function Documentation

◆ donothing()

HFile_amtrix::donothing (   $keywordin)

Definition at line 238 of file HFile_amtrix.php.

239  {
240  return $keywordin;
241  }

◆ HFile_amtrix()

HFile_amtrix::HFile_amtrix ( )

Definition at line 9 of file HFile_amtrix.php.

References array.

10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14  // AMTrix
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  "ARGUMENT" => "1",
50  "AMTRIX_LOGID" => "1",
51  "AND" => "1",
52  "APPEND" => "1",
53  "ARG_LIST" => "1",
54  "ARG_OPT" => "1",
55  "ARGUMENTCOUNT" => "1",
56  "ARRAYSIZE" => "1",
57  "AS" => "1",
58  "ASSIGNMENT" => "1",
59  "BEGIN" => "1",
60  "BINARY" => "1",
61  "BIT_AND" => "1",
62  "BIT_NOT" => "1",
63  "BIT_OR" => "1",
64  "BIT_SHIFT" => "1",
65  "BIT_XOR" => "1",
66  "BLOCK" => "1",
67  "BOUNDED" => "1",
68  "BREAK" => "1",
69  "BY" => "1",
70  "CALL" => "1",
71  "CASE" => "1",
72  "CATCH" => "1",
73  "CENTER" => "1",
74  "CHAR" => "1",
75  "CHARSET" => "1",
76  "CLOSE" => "1",
77  "COMMENTS" => "1",
78  "COMMIT" => "1",
79  "COMPOSITE" => "1",
80  "CONDITIONAL" => "1",
81  "CONSTANT" => "1",
82  "CONSTANTS" => "1",
83  "CONTINUE" => "1",
84  "CONTROL" => "1",
85  "CONVERT" => "1",
86  "COPY" => "1",
87  "COUNT" => "1",
88  "CURRENTDATE" => "1",
89  "DATA" => "1",
90  "DATABASE" => "1",
91  "DATE" => "1",
92  "DEBUG" => "1",
93  "DECLARE" => "1",
94  "DELETE" => "1",
95  "DESTINATION" => "1",
96  "DIR_CLOSE" => "1",
97  "DIR_OPEN" => "1",
98  "DIR_READ" => "1",
99  "DIR_REWIND" => "1",
100  "EDI" => "1",
101  "EDI_CHARSET" => "1",
102  "EDI_READ_CHARSET" => "1",
103  "EDI_READ_INTERCHANGE" => "1",
104  "EDI_TRUNCATE" => "1",
105  "ELEMENT" => "1",
106  "ELSE" => "1",
107  "ERROR" => "1",
108  "EXEC" => "1",
109  "EXECUTE" => "1",
110  "EXIT" => "1",
111  "EXPORT" => "1",
112  "EXPRESSIONS" => "1",
113  "FILE" => "1",
114  "FLOAT" => "1",
115  "FOR" => "1",
116  "FORMAT" => "1",
117  "FROM" => "1",
118  "FROM_ISO8859" => "1",
119  "FUNCTION" => "1",
120  "GETOPT" => "1",
121  "GROUP" => "1",
122  "IF" => "1",
123  "IMPORT" => "1",
124  "INCLUDE" => "1",
125  "INPUT" => "1",
126  "INSERT" => "1",
127  "INTEGER" => "1",
128  "INTO" => "1",
129  "LEFT" => "1",
130  "LOCK" => "1",
131  "LOG" => "1",
132  "LOGID" => "1",
133  "LOOP" => "1",
134  "MANDATORY" => "1",
135  "MODULE" => "1",
136  "MOVE" => "1",
137  "NDEC" => "1",
138  "NOLOG" => "1",
139  "ON" => "1",
140  "OPEN" => "1",
141  "OPTDTA_READ" => "1",
142  "OPTDTA_WRITE" => "1",
143  "OPTIONAL" => "1",
144  "OR" => "1",
145  "ORDER" => "1",
146  "OTHERS" => "1",
147  "OUTPUT" => "1",
148  "PRAGMA" => "1",
149  "PRINT" => "1",
150  "RAW_CLOSE" => "1",
151  "RAW_FLUSH" => "1",
152  "RAW_OPEN" => "1",
153  "RAW_READ" => "1",
154  "RAW_SEEK" => "1",
155  "RAW_TELL" => "1",
156  "RAW_WRITE" => "1",
157  "READ" => "1",
158  "READTAG" => "1",
159  "RECEIVE" => "1",
160  "REGEXP" => "1",
161  "RELATION" => "1",
162  "RELEASE" => "1",
163  "REPEAT" => "1",
164  "RESERVED" => "1",
165  "RETURN" => "1",
166  "RIGHT" => "1",
167  "ROLLBACK" => "1",
168  "SCAN" => "1",
169  "SEGMENT" => "1",
170  "SELECT" => "1",
171  "SEND" => "1",
172  "SEQUENCE" => "1",
173  "SET" => "1",
174  "SLEEP" => "1",
175  "SOURCE" => "1",
176  "SOURCEFILE" => "1",
177  "SOURCELINE" => "1",
178  "SOURCEMODULE" => "1",
179  "SOURCEPROCEDURE" => "1",
180  "SPLIT" => "1",
181  "SQL" => "1",
182  "STATEMENT" => "1",
183  "STR_FIELD" => "1",
184  "STR_FIELDS" => "1",
185  "STR_LOWER" => "1",
186  "STR_UPPER" => "1",
187  "STRCNV" => "1",
188  "STRFIELD" => "1",
189  "STRFIELDS" => "1",
190  "STRING" => "1",
191  "STRLEN" => "1",
192  "STRMID" => "1",
193  "SUB" => "1",
194  "SWITCH" => "1",
195  "SYSTEM" => "1",
196  "TABLE" => "1",
197  "TEXT" => "1",
198  "THROW" => "1",
199  "TO" => "1",
200  "TO_ISO8859" => "1",
201  "TRUNC" => "1",
202  "TRUNCATE" => "1",
203  "TRY" => "1",
204  "TYPE" => "1",
205  "TYPES" => "1",
206  "UNBOUNDED" => "1",
207  "UNIQUE_ID" => "1",
208  "UNIQUE_NAME" => "1",
209  "UNLOCK" => "1",
210  "UPDATE" => "1",
211  "VALUES" => "1",
212  "VARIABLE" => "1",
213  "VARIABLES" => "1",
214  "WHILE" => "1",
215  "WHEN" => "1",
216  "WHERE" => "1",
217  "WORK" => "1",
218  "WRITETAG" => "1",
219  "SE_H�R" => "2",
220  "$error" => "3",
221  "$exec" => "3",
222  "$PGM_exception" => "3");
223 
224  // Special extensions
225 
226  // Each category can specify a PHP function that returns an altered
227  // version of the keyword.
228 
229 
230 
231  $this->linkscripts = array(
232  "1" => "donothing",
233  "2" => "donothing",
234  "3" => "donothing");
235  }
Create styles array
The data for the language used.
Definition: HFile.php:21

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