ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
HFile_amtrix Class Reference
+ Inheritance diagram for HFile_amtrix:
+ Collaboration diagram for HFile_amtrix:

Public Member Functions

 HFile_amtrix ()
 
 donothing ($keywordin)
 

Detailed Description

Definition at line 5 of file HFile_amtrix.php.

Member Function Documentation

◆ donothing()

HFile_amtrix::donothing (   $keywordin)

Definition at line 234 of file HFile_amtrix.php.

235{
236 return $keywordin;
237}

◆ HFile_amtrix()

HFile_amtrix::HFile_amtrix ( )

Definition at line 6 of file HFile_amtrix.php.

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

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