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

Public Member Functions

 HFile_plsql ()
 
 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_plsql.php.

Member Function Documentation

◆ donothing()

HFile_plsql::donothing (   $keywordin)

Definition at line 387 of file HFile_plsql.php.

388  {
389  return $keywordin;
390  }

◆ HFile_plsql()

HFile_plsql::HFile_plsql ( )

Definition at line 9 of file HFile_plsql.php.

References array.

10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14  // PL/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", "brown", "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  "ABORT" => "1",
50  "ACCEPT" => "1",
51  "ACCESS" => "1",
52  "ADD" => "1",
53  "ALL" => "1",
54  "ALTER" => "1",
55  "AND" => "1",
56  "ANY" => "1",
57  "ARRAY" => "1",
58  "ARRAYLEN" => "1",
59  "AS" => "1",
60  "ASC" => "1",
61  "ASSERT" => "1",
62  "ASSIGN" => "1",
63  "AT" => "1",
64  "AUDIT" => "1",
65  "AUTHORIZATION" => "1",
66  "AVG" => "1",
67  "BASE_TABLE" => "1",
68  "BEGIN" => "1",
69  "BETWEEN" => "1",
70  "BINARY_INTEGER" => "1",
71  "BODY" => "1",
72  "BOOLEAN" => "1",
73  "BY" => "1",
74  "CASE" => "1",
75  "CHAR" => "1",
76  "CHAR_BASE" => "1",
77  "CHECK" => "1",
78  "CLOSE" => "1",
79  "CLUSTER" => "1",
80  "CLUSTERS" => "1",
81  "COLAUTH" => "1",
82  "COLUMN" => "1",
83  "COMMENT" => "1",
84  "COMMIT" => "1",
85  "COMPRESS" => "1",
86  "CONNECT" => "1",
87  "CONSTANT" => "1",
88  "CRASH" => "1",
89  "CREATE" => "1",
90  "CURRENT" => "1",
91  "CURRVAL" => "1",
92  "CURSOR" => "1",
93  "DATABASE" => "1",
94  "DATA_BASE" => "1",
95  "DATE" => "1",
96  "DBA" => "1",
97  "DEBUGOFF" => "1",
98  "DEBUGON" => "1",
99  "DECLARE" => "1",
100  "DECIMAL" => "1",
101  "DEFAULT" => "1",
102  "DEFINITION" => "1",
103  "DELAY" => "1",
104  "DELETE" => "1",
105  "DESC" => "1",
106  "DIGITS" => "1",
107  "DISPOSE" => "1",
108  "DISTINCT" => "1",
109  "DO" => "1",
110  "DROP" => "1",
111  "ELSE" => "1",
112  "ELSIF" => "1",
113  "END" => "1",
114  "ENTRY" => "1",
115  "EXCEPTION" => "1",
116  "EXCEPTION_INIT" => "1",
117  "EXCLUSIVE" => "1",
118  "EXISTS" => "1",
119  "EXIT" => "1",
120  "FALSE" => "1",
121  "FETCH" => "1",
122  "FILE" => "1",
123  "FLOAT" => "1",
124  "FOR" => "6",
125  "FORM" => "1",
126  "FROM" => "1",
127  "FUNCTION" => "1",
128  "GENERIC" => "1",
129  "GOTO" => "1",
130  "GRANT" => "4",
131  "GROUP" => "1",
132  "HAVING" => "1",
133  "IDENTIFIED" => "1",
134  "IF" => "1",
135  "IMMEDIATE" => "1",
136  "IN" => "1",
137  "INCREMENT" => "1",
138  "INDEX" => "1",
139  "INDEXES" => "1",
140  "INDICATOR" => "1",
141  "INITIAL" => "1",
142  "INSERT" => "1",
143  "INTEGER" => "1",
144  "INTERFACE" => "1",
145  "INTERSECT" => "1",
146  "INTO" => "1",
147  "IS" => "1",
148  "LEVEL" => "1",
149  "LIKE" => "1",
150  "LIMITED" => "1",
151  "LOCK" => "1",
152  "LONG" => "1",
153  "LOOP" => "1",
154  "MAX" => "1",
155  "MAXEXTENTS" => "1",
156  "MIN" => "1",
157  "MINEXTENTS" => "1",
158  "MINUS" => "1",
159  "MISLABEL" => "1",
160  "MOD" => "5",
161  "MODE" => "1",
162  "NATURAL" => "1",
163  "NATURALN" => "1",
164  "NEW" => "1",
165  "NEXTVAL" => "1",
166  "NOAUDIT" => "1",
167  "NOCOMPRESS" => "1",
168  "NOLOGGING" => "1",
169  "NOT" => "1",
170  "NOWAIT" => "1",
171  "NULL" => "1",
172  "NUMBER" => "1",
173  "NUMBER_BASE" => "1",
174  "OF" => "1",
175  "OFFLINE" => "1",
176  "ON" => "1",
177  "ONLINE" => "1",
178  "OPEN" => "1",
179  "OPTION" => "1",
180  "OR" => "1",
181  "ORDER" => "1",
182  "OTHERS" => "1",
183  "OUT" => "1",
184  "PACKAGE" => "1",
185  "PARTITION" => "1",
186  "PCTFREE" => "1",
187  "PCTUSED" => "1",
188  "PLS_INTEGER" => "1",
189  "POSITIVE" => "1",
190  "POSITIVEN" => "1",
191  "PRAGMA" => "1",
192  "PRIOR" => "1",
193  "PRIVATE" => "1",
194  "PRIVILEGES" => "1",
195  "PROCEDURE" => "1",
196  "PUBLIC" => "1",
197  "RAISE" => "1",
198  "RANGE" => "1",
199  "RAW" => "1",
200  "REAL" => "1",
201  "RECORD" => "1",
202  "REF" => "1",
203  "RELEASE" => "1",
204  "REMR" => "1",
205  "RENAME" => "1",
206  "RESOURCE" => "1",
207  "RETURN" => "1",
208  "REVERSE" => "1",
209  "REVOKE" => "1",
210  "ROLLBACK" => "1",
211  "ROW" => "1",
212  "ROWID" => "1",
213  "ROWLABEL" => "1",
214  "ROWNUM" => "1",
215  "ROWS" => "1",
216  "ROWTYPE" => "1",
217  "RUN" => "4",
218  "SAVEPOINT" => "1",
219  "SCHEMA" => "1",
220  "SELECT" => "1",
221  "SEPARATE" => "1",
222  "SESSION" => "1",
223  "SET" => "1",
224  "SHARE" => "1",
225  "SMALLINT" => "1",
226  "SPACE" => "1",
227  "SQL" => "1",
228  "SQLCODE" => "1",
229  "SQLERRM" => "1",
230  "START" => "4",
231  "STATEMENT" => "1",
232  "STDDEV" => "1",
233  "SUBTYPE" => "1",
234  "SUCCESSFUL" => "1",
235  "SUM" => "1",
236  "SYNONYM" => "1",
237  "SYSDATE" => "1",
238  "TABAUTH" => "1",
239  "TABLE" => "1",
240  "TABLES" => "1",
241  "TASK" => "1",
242  "TERMINATE" => "1",
243  "THEN" => "1",
244  "TO" => "1",
245  "TRIGGER" => "1",
246  "TRUE" => "1",
247  "TYPE" => "1",
248  "UID" => "1",
249  "UNION" => "1",
250  "UNIQUE" => "1",
251  "UPDATE" => "1",
252  "USE" => "1",
253  "USER" => "1",
254  "VALIDATE" => "1",
255  "VALUES" => "1",
256  "VARCHAR" => "1",
257  "VARCHAR2" => "1",
258  "VARIANCE" => "1",
259  "VIEW" => "1",
260  "VIEWS" => "1",
261  "WHEN" => "6",
262  "WHENEVER" => "1",
263  "WHERE" => "6",
264  "WHILE" => "6",
265  "WITH" => "1",
266  "WORK" => "1",
267  "WRITE" => "1",
268  "XOR" => "1",
269  "DBMS_OUTPUT" => "2",
270  "DBMS_JOB" => "2",
271  "DBMS_SQL" => "2",
272  "BIND_VARIABLE" => "3",
273  "BIND_VARIABLE_CHAR" => "3",
274  "BIND_VARIABLE_RAW" => "3",
275  "BIND_VARIABLE_ROWID" => "3",
276  "BROKEN" => "3",
277  "CHANGE" => "3",
278  "CLOSE_CURSOR" => "3",
279  "COLUMN_VALUE" => "3",
280  "COLUMN_VALUE_CHAR" => "3",
281  "COLUMN_VALUE_RAW" => "3",
282  "COLUMN_VALUE_ROWID" => "3",
283  "DEFINE_COLUMN" => "3",
284  "DEFINE_COLUMN_CHAR" => "3",
285  "DEFINE_COLUMN_RAW" => "3",
286  "DEFINE_COLUMN_ROWID" => "3",
287  "DISABLE" => "3",
288  "ENABLE" => "3",
289  "EXECUTE" => "4",
290  "EXECUTE_AND_FETCH" => "3",
291  "FETCH_ROWS" => "3",
292  "GET_LINE" => "3",
293  "GET_LINES" => "3",
294  "INTERVAL" => "3",
295  "IS_OPEN" => "3",
296  "LAST_ERROR_POSITION" => "3",
297  "LAST_ROW_COUNT" => "3",
298  "LAST_ROW_ID" => "3",
299  "LAST_SQL_FUNCTION_CODE" => "3",
300  "NEW_LINE" => "3",
301  "NEXT_DATE" => "3",
302  "PARSE" => "3",
303  "PUT" => "3",
304  "PUT_LINE" => "3",
305  "REMOVE" => "3",
306  "SUBMIT" => "3",
307  "WHAT" => "3",
308  "REPLACE" => "5",
309  "ABS" => "5",
310  "ADD_MONTHS" => "5",
311  "ASCII" => "5",
312  "CEIL" => "5",
313  "CHR" => "5",
314  "CONCAT" => "5",
315  "CONVERT" => "5",
316  "COS" => "5",
317  "COSH" => "5",
318  "DECODE" => "5",
319  "EXP" => "5",
320  "FLOOR" => "5",
321  "GREATEST" => "5",
322  "HEXTORAW" => "5",
323  "INITCAP" => "5",
324  "INSTR" => "5",
325  "LAST_DAY" => "5",
326  "LENGTH" => "5",
327  "LN" => "5",
328  "LOG" => "5",
329  "LOWER" => "5",
330  "LPAD" => "5",
331  "LTRIM" => "5",
332  "MONTHS_BETWEEN" => "5",
333  "NEXT_DAY" => "5",
334  "NEW_TIME" => "5",
335  "NLS_INITCAP" => "5",
336  "NLS_LOWER" => "5",
337  "NLS_UPPER" => "5",
338  "NVL" => "5",
339  "POWER" => "5",
340  "RAWTOHEX" => "5",
341  "ROUND" => "5",
342  "ROWIDTOCHAR" => "5",
343  "RPAD" => "5",
344  "RTRIM" => "5",
345  "SIGN" => "5",
346  "SIN" => "5",
347  "SINH" => "5",
348  "SOUNDEX" => "5",
349  "SQRT" => "5",
350  "SUBSTR" => "5",
351  "SUBSTRB" => "5",
352  "TAN" => "5",
353  "TANH" => "5",
354  "TO_CHAR" => "5",
355  "TO_DATE" => "5",
356  "TO_LABEL" => "5",
357  "TO_MULTI_BYTE" => "5",
358  "TO_NUMBER" => "5",
359  "TO_SINGLE_TYPE" => "5",
360  "TRANSLATE" => "5",
361  "TRUNC" => "5",
362  "UPPER" => "5",
363  "USERENV" => "5",
364  "VSIZE" => "5",
365  "BEFORE" => "6",
366  "EACH" => "6",
367  "KEY" => "6",
368  "PRIMARY" => "6");
369 
370  // Special extensions
371 
372  // Each category can specify a PHP function that returns an altered
373  // version of the keyword.
374 
375 
376 
377  $this->linkscripts = array(
378  "1" => "donothing",
379  "6" => "donothing",
380  "4" => "donothing",
381  "5" => "donothing",
382  "2" => "donothing",
383  "3" => "donothing");
384  }
Create styles array
The data for the language used.
Definition: HFile.php:21

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