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

Public Member Functions

 HFile_ib_sql ()
 
 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_ib_sql.php.

Member Function Documentation

◆ donothing()

HFile_ib_sql::donothing (   $keywordin)

Definition at line 335 of file HFile_ib_sql.php.

336  {
337  return $keywordin;
338  }

◆ HFile_ib_sql()

HFile_ib_sql::HFile_ib_sql ( )

Definition at line 9 of file HFile_ib_sql.php.

References array.

10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14  // IB SQL
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");
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  "ACTION" => "1",
50  "ACTIVE" => "1",
51  "ADD" => "1",
52  "ADMIN" => "1",
53  "AFTER" => "1",
54  "ALL" => "1",
55  "ALTER" => "1",
56  "AND" => "1",
57  "ANY" => "1",
58  "AS" => "1",
59  "ASC" => "1",
60  "ASCENDING" => "1",
61  "AT" => "1",
62  "AUTO" => "1",
63  "AUTODDL" => "1",
64  "BASED" => "1",
65  "BASENAME" => "1",
66  "BASE_NAME" => "1",
67  "BEFORE" => "1",
68  "BEGIN" => "1",
69  "BETWEEN" => "1",
70  "BLOB" => "1",
71  "BLOBEDIT" => "1",
72  "BUFFER" => "1",
73  "BY" => "1",
74  "CACHE" => "1",
75  "CASCADE" => "1",
76  "CHARACTER" => "1",
77  "CHARACTER_LENGTH" => "1",
78  "CHAR_LENGTH" => "1",
79  "CHECK" => "1",
80  "CHECK_POINT_LEN" => "1",
81  "CHECK_POINT_LENGTH" => "1",
82  "COLLATE" => "1",
83  "COLLATION" => "1",
84  "COLUMN" => "1",
85  "COMMIT" => "1",
86  "COMMITTED" => "1",
87  "COMPILETIME" => "1",
88  "COMPUTED" => "1",
89  "CLOSE" => "1",
90  "CONDITIONAL" => "1",
91  "CONNECT" => "1",
92  "CONSTRAINT" => "1",
93  "CONTAINING" => "1",
94  "CONTINUE" => "1",
95  "CREATE" => "1",
96  "CURRENT" => "1",
97  "CURSOR" => "1",
98  "DATABASE" => "1",
99  "DB_KEY" => "1",
100  "DEBUG" => "1",
101  "DEC" => "1",
102  "DECLARE" => "1",
103  "DEFAULT" => "1",
104  "DELETE" => "1",
105  "DESC" => "1",
106  "DESCENDING" => "1",
107  "DESCRIBE" => "1",
108  "DESCRIPTOR" => "1",
109  "DISCONNECT" => "1",
110  "DISPLAY" => "1",
111  "DISTINCT" => "1",
112  "DO" => "1",
113  "DOMAIN" => "1",
114  "DROP" => "1",
115  "ECHO" => "1",
116  "EDIT" => "1",
117  "ELSE" => "1",
118  "END" => "1",
119  "ENTRY_POINT" => "1",
120  "ESCAPE" => "1",
121  "EVENT" => "1",
122  "EXCEPTION" => "1",
123  "EXECUTE" => "1",
124  "EXISTS" => "1",
125  "EXIT" => "1",
126  "EXTERN" => "1",
127  "EXTERNAL" => "1",
128  "EXTRACT" => "1",
129  "FETCH" => "1",
130  "FILE" => "1",
131  "FILTER" => "1",
132  "FOR" => "1",
133  "FOREIGN" => "1",
134  "FOUND" => "1",
135  "FREE_IT" => "1",
136  "FROM" => "1",
137  "FULL" => "1",
138  "FUNCTION" => "1",
139  "GDSCODE" => "1",
140  "GENERATOR" => "1",
141  "GEN_ID" => "1",
142  "GLOBAL" => "1",
143  "GOTO" => "1",
144  "GRANT" => "1",
145  "GROUP" => "1",
146  "GROUP_COMMIT_WAIT" => "1",
147  "GROUP_COMMIT_WAIT_TIME" => "1",
148  "HAVING" => "1",
149  "HELP" => "1",
150  "IF" => "1",
151  "IMMEDIATE" => "1",
152  "IN" => "1",
153  "INACTIVE" => "1",
154  "INDEX" => "1",
155  "INDICATOR" => "1",
156  "INIT" => "1",
157  "INNER" => "1",
158  "INPUT" => "1",
159  "INPUT_TYPE" => "1",
160  "INSERT" => "1",
161  "INTO" => "1",
162  "IS" => "1",
163  "ISOLATION" => "1",
164  "ISQL" => "1",
165  "JOIN" => "1",
166  "KEY" => "1",
167  "LC_MESSAGES" => "1",
168  "LC_TYPE" => "1",
169  "LEFT" => "1",
170  "LENGTH" => "1",
171  "LEV" => "1",
172  "LEVEL" => "1",
173  "LIKE" => "1",
174  "LOGFILE" => "1",
175  "LOG_BUFFER_SIZE" => "1",
176  "LOG_BUF_SIZE" => "1",
177  "LONG" => "1",
178  "MANUAL" => "1",
179  "MAXIMUM_SEGMENT" => "1",
180  "MAX_SEGMENT" => "1",
181  "MERGE" => "1",
182  "MESSAGE" => "1",
183  "MODULE_NAME" => "1",
184  "NAMES" => "1",
185  "NATIONAL" => "1",
186  "NATURAL" => "1",
187  "NO" => "1",
188  "NOAUTO" => "1",
189  "NOT" => "1",
190  "NUM_LOG_BUFS" => "1",
191  "NUM_LOG_BUFFERS" => "1",
192  "OCTET_LENGTH" => "1",
193  "OF" => "1",
194  "ON" => "1",
195  "ONLY" => "1",
196  "OPEN" => "1",
197  "OPTION" => "1",
198  "OR" => "1",
199  "ORDER" => "1",
200  "OUTER" => "1",
201  "OUTPUT" => "1",
202  "OUTPUT_TYPE" => "1",
203  "OVERFLOW" => "1",
204  "PAGE" => "1",
205  "PAGELENGTH" => "1",
206  "PAGES" => "1",
207  "PAGE_SIZE" => "1",
208  "PARAMETER" => "1",
209  "PASSWORD" => "1",
210  "PLAN" => "1",
211  "POSITION" => "1",
212  "POST_EVENT" => "1",
213  "PRECISION" => "1",
214  "PREPARE" => "1",
215  "PROCEDURE" => "1",
216  "PROTECTED" => "1",
217  "PRIMARY" => "1",
218  "PRIVILEGES" => "1",
219  "PUBLIC" => "1",
220  "QUIT" => "1",
221  "RAW_PARTITIONS" => "1",
222  "RDB$DB_KEY" => "1",
223  "READ" => "1",
224  "RECORD_VERSION" => "1",
225  "REFERENCES" => "1",
226  "RELEASE" => "1",
227  "RESERV" => "1",
228  "RESERVING" => "1",
229  "RESTRICT" => "1",
230  "RETAIN" => "1",
231  "RETURN" => "1",
232  "RETURNING_VALUES" => "1",
233  "RETURNS" => "1",
234  "REVOKE" => "1",
235  "RIGHT" => "1",
236  "ROLE" => "1",
237  "ROLLBACK" => "1",
238  "RUNTIME" => "1",
239  "SCHEMA" => "1",
240  "SEGMENT" => "1",
241  "SELECT" => "1",
242  "SET" => "1",
243  "SHADOW" => "1",
244  "SHARED" => "1",
245  "SHELL" => "1",
246  "SHOW" => "1",
247  "SINGULAR" => "1",
248  "SIZE" => "1",
249  "SNABeautifierOT" => "1",
250  "SOME" => "1",
251  "SORT" => "1",
252  "SQL" => "1",
253  "SQLERROR" => "1",
254  "SQLWARNING" => "1",
255  "STABILITY" => "1",
256  "STARTING" => "1",
257  "STARTS" => "1",
258  "STATEMENT" => "1",
259  "STATIC" => "1",
260  "STATISTICS" => "1",
261  "SUB_TYPE" => "1",
262  "SUSPEND" => "1",
263  "TABLE" => "1",
264  "TERMINATOR" => "1",
265  "THEN" => "1",
266  "TO" => "1",
267  "TRANSACTION" => "1",
268  "TRANSLATE" => "1",
269  "TRANSLATION" => "1",
270  "TRIGGER" => "1",
271  "TRIM" => "1",
272  "UNCOMMITTED" => "1",
273  "UNION" => "1",
274  "UNIQUE" => "1",
275  "UPDATE" => "1",
276  "UPPER" => "1",
277  "USING" => "1",
278  "VALUE" => "1",
279  "VALUES" => "1",
280  "VARIABLE" => "1",
281  "VERSION" => "1",
282  "VIEW" => "1",
283  "WAIT" => "1",
284  "WHEN" => "1",
285  "WHENEVER" => "1",
286  "WHERE" => "1",
287  "WHILE" => "1",
288  "WITH" => "1",
289  "WORK" => "1",
290  "WRITE" => "1",
291  "AVG" => "2",
292  "COUNT" => "2",
293  "CAST" => "2",
294  "MAX" => "2",
295  "MAXIMUM" => "2",
296  "MIN" => "2",
297  "MINIMUM" => "2",
298  "NULL" => "2",
299  "NOW" => "2",
300  "SQLCODE" => "2",
301  "SUM" => "2",
302  "USER" => "2",
303  "bool" => "3",
304  "CHAR" => "3",
305  "DATE" => "3",
306  "CSTRING" => "3",
307  "DECIMAL" => "3",
308  "DOUBLE" => "3",
309  "FLOAT" => "3",
310  "INT" => "3",
311  "INTEGER" => "3",
312  "hbool" => "3",
313  "NCHAR" => "3",
314  "NUMERIC" => "3",
315  "REAL" => "3",
316  "SMALLINT" => "3",
317  "TIME" => "3",
318  "VARCHAR" => "3",
319  "VARYING" => "3");
320 
321  // Special extensions
322 
323  // Each category can specify a PHP function that returns an altered
324  // version of the keyword.
325 
326 
327 
328  $this->linkscripts = array(
329  "1" => "donothing",
330  "2" => "donothing",
331  "3" => "donothing");
332  }
Create styles array
The data for the language used.
Definition: HFile.php:21

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