ILIAS  Release_4_2_x_branch Revision 61807
 All Data Structures Namespaces Files Functions Variables Groups Pages
HFile_tsql.php
Go to the documentation of this file.
1 <?php
2 $BEAUT_PATH = realpath(".")."/Services/COPage/syntax_highlight/php";
3 if (!isset ($BEAUT_PATH)) return;
4 require_once("$BEAUT_PATH/Beautifier/HFile.php");
5  class HFile_tsql extends HFile{
6  function HFile_tsql(){
7  $this->HFile();
8 /*************************************/
9 // Beautifier Highlighting Configuration File
10 // Transact SQL
11 /*************************************/
12 // Flags
13 
14 $this->nocase = "1";
15 $this->notrim = "0";
16 $this->perl = "0";
17 
18 // Colours
19 
20 $this->colours = array("blue", "purple", "gray", "brown", "blue", "purple");
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  "ABSOLUTE" => "1",
46  "ACTION" => "1",
47  "ALLOCATE" => "1",
48  "ARE" => "1",
49  "ASSERTION" => "1",
50  "AT" => "1",
51  "AUTHORIZATION" => "1",
52  "BOTH" => "1",
53  "CASCADE" => "1",
54  "CASCADED" => "1",
55  "CAST" => "1",
56  "CATALOG" => "1",
57  "CHAR_LENGTH" => "1",
58  "CHARACTER" => "1",
59  "CHARACTER_LENGTH" => "1",
60  "COLLATE" => "1",
61  "COLLATION" => "1",
62  "COLUMN" => "1",
63  "CONNECT" => "1",
64  "CONNECTION" => "1",
65  "CONSTRAINTS" => "1",
66  "CORRESPONDING" => "1",
67  "DATE" => "1",
68  "DAY" => "1",
69  "DEFERRABLE" => "1",
70  "DEFERRED" => "1",
71  "DESCRIBE" => "1",
72  "DESCRIPTOR" => "1",
73  "DIAGNOSTICS" => "1",
74  "DISCONNECT" => "1",
75  "DOMAIN" => "1",
76  "END_EXEC" => "1",
77  "ESCAPE" => "1",
78  "EXCEPTION" => "1",
79  "EXPIREDATE" => "1",
80  "EXTERNAL" => "1",
81  "EXTRACT" => "1",
82  "FALSE" => "1",
83  "FILE" => "1",
84  "FIRST" => "1",
85  "FULL" => "1",
86  "GET" => "1",
87  "GLOBAL" => "1",
88  "HOUR" => "1",
89  "IMMEDIATE" => "1",
90  "INITIALLY" => "1",
91  "INNER" => "1",
92  "INPUT" => "1",
93  "INTERVAL" => "1",
94  "JOIN" => "1",
95  "LAST" => "1",
96  "LEADING" => "1",
97  "LEFT" => "1",
98  "LOCAL" => "1",
99  "MATCH" => "1",
100  "MINUTE" => "1",
101  "MONTH" => "1",
102  "NAMES" => "1",
103  "NATIONAL" => "1",
104  "NATURAL" => "1",
105  "NCHAR" => "1",
106  "NEXT" => "1",
107  "NO" => "1",
108  "OCTET_LENGTH" => "1",
109  "OUTER" => "1",
110  "OUTPUT" => "1",
111  "OVERLAPS" => "1",
112  "PAD" => "1",
113  "PARTIAL" => "1",
114  "POSITION" => "1",
115  "PRESERVE" => "1",
116  "PRIOR" => "1",
117  "PRIVILEGES" => "1",
118  "RELATIVE" => "1",
119  "RESTRICT" => "1",
120  "RETAINDAYS" => "1",
121  "RIGHT" => "1",
122  "ROWS" => "1",
123  "SCHEMA" => "1",
124  "SECOND" => "1",
125  "SESSION" => "1",
126  "SIZE" => "1",
127  "SPACE" => "1",
128  "SQLSTATE" => "1",
129  "TIME" => "1",
130  "TIMEZONE_HOUR" => "1",
131  "TIMEZONE_MINUTE" => "1",
132  "TRAILING" => "1",
133  "TRANSLATE" => "1",
134  "TRANSLATION" => "1",
135  "TRUE" => "1",
136  "UNKNOWN" => "1",
137  "USAGE" => "1",
138  "USING" => "1",
139  "VALUE" => "1",
140  "VOLUME" => "1",
141  "WORK" => "1",
142  "WRITE" => "1",
143  "YEAR" => "1",
144  "ZONE" => "1",
145  "ADD" => "2",
146  "ALL" => "2",
147  "ALTER" => "2",
148  "AND" => "2",
149  "ANY" => "2",
150  "AS" => "2",
151  "ASC" => "2",
152  "AVG" => "2",
153  "BEGIN" => "2",
154  "BETWEEN" => "2",
155  "BREAK" => "2",
156  "BROWSE" => "2",
157  "BULK" => "2",
158  "BY" => "2",
159  "CASE" => "2",
160  "CHECK" => "2",
161  "CHECKPOINT" => "2",
162  "CLOSE" => "2",
163  "CLUSTERED" => "2",
164  "COALESCE" => "2",
165  "COMMIT" => "2",
166  "COMMITTED" => "2",
167  "COMPUTE" => "2",
168  "CONFIRM" => "2",
169  "CONSTRAINT" => "2",
170  "CONTINUE" => "2",
171  "CONTROLROW" => "2",
172  "CONVERT" => "2",
173  "COUNT" => "2",
174  "CREATE" => "2",
175  "CURRENT" => "2",
176  "CURRENT_DATE" => "2",
177  "CURRENT_TIME" => "2",
178  "CURRENT_TIMESTAMP" => "2",
179  "CURRENT_USER" => "2",
180  "CURSOR" => "2",
181  "DATABASE" => "2",
182  "DBCC" => "2",
183  "DEALLOCATE" => "2",
184  "DECLARE" => "2",
185  "DEFAULT" => "2",
186  "DELETE" => "2",
187  "DESC" => "2",
188  "DISK" => "2",
189  "DISTINCT" => "2",
190  "DOUBLE" => "2",
191  "DROP" => "2",
192  "DUMMY" => "2",
193  "DUMP" => "2",
194  "ELSE" => "2",
195  "END" => "2",
196  "ERRLVL" => "2",
197  "ERROREXIT" => "2",
198  "EXCEPT" => "2",
199  "EXEC" => "2",
200  "EXECUTE" => "2",
201  "EXISTS" => "2",
202  "EXIT" => "2",
203  "FETCH" => "2",
204  "FILLFACTOR" => "2",
205  "FLOPPY" => "2",
206  "FOR" => "2",
207  "FOREIGN" => "2",
208  "FROM" => "2",
209  "GOTO" => "2",
210  "GRANT" => "2",
211  "GROUP" => "2",
212  "HAVING" => "2",
213  "HOLDLOCK" => "2",
214  "IDENTITY" => "2",
215  "IDENTITY_INSERT" => "2",
216  "IDENTITYCOL" => "2",
217  "IF" => "2",
218  "IN" => "2",
219  "INDEX" => "2",
220  "INSENSITIVE" => "2",
221  "INSERT" => "2",
222  "INTERSECT" => "2",
223  "INTO" => "2",
224  "IS" => "2",
225  "ISOLATION" => "2",
226  "KEY" => "2",
227  "KILL" => "2",
228  "LEVEL" => "2",
229  "LIKE" => "2",
230  "LINENO" => "2",
231  "LOAD" => "2",
232  "MAX" => "2",
233  "MIN" => "2",
234  "MIRROREXIT" => "2",
235  "NOCHECK" => "2",
236  "NONCLUSTERED" => "2",
237  "NOT" => "2",
238  "NULL" => "2",
239  "NULLIF" => "2",
240  "OF" => "2",
241  "OFF" => "2",
242  "OFFSETS" => "2",
243  "ON" => "2",
244  "ONCE" => "2",
245  "ONLY" => "2",
246  "OPEN" => "2",
247  "OPTION" => "2",
248  "OR" => "2",
249  "ORDER" => "2",
250  "OVER" => "2",
251  "PERM" => "2",
252  "PERMANENT" => "2",
253  "PIPE" => "2",
254  "PLAN" => "2",
255  "PRECISION" => "2",
256  "PREPARE" => "2",
257  "PRIMARY" => "2",
258  "PRINT" => "2",
259  "PROC" => "2",
260  "PROCEDURE" => "2",
261  "PROCESSEXIT" => "2",
262  "PUBLIC" => "2",
263  "RAISERROR" => "2",
264  "READ" => "2",
265  "RECONFIGURE" => "2",
266  "REFERENCES" => "2",
267  "REPEATABLE" => "2",
268  "REPLICATION" => "2",
269  "RETURN" => "2",
270  "REVOKE" => "2",
271  "ROLLBACK" => "2",
272  "ROWCOUNT" => "2",
273  "RULE" => "2",
274  "SAVE" => "2",
275  "SCROLL" => "2",
276  "SELECT" => "2",
277  "SERIALIZABLE" => "2",
278  "SESSION_USER" => "2",
279  "SET" => "2",
280  "SETUSER" => "2",
281  "SHUTDOWN" => "2",
282  "SOME" => "2",
283  "STATISTICS" => "2",
284  "SUM" => "2",
285  "SYSTEM_USER" => "2",
286  "TABLE" => "2",
287  "TAPE" => "2",
288  "TEMP" => "2",
289  "TEMPORARY" => "2",
290  "TEXTSIZE" => "2",
291  "THEN" => "2",
292  "TO" => "2",
293  "TRAN" => "2",
294  "TRANSACTION" => "2",
295  "TRIGGER" => "2",
296  "TRUNCATE" => "2",
297  "TSEQUAL" => "2",
298  "UNCOMMITTED" => "2",
299  "UNION" => "2",
300  "UNIQUE" => "2",
301  "UPDATE" => "2",
302  "UPDATETEXT" => "2",
303  "USE" => "2",
304  "USER" => "2",
305  "VALUES" => "2",
306  "VARYING" => "2",
307  "VIEW" => "2",
308  "WAITFOR" => "2",
309  "WHEN" => "2",
310  "WHERE" => "2",
311  "WHILE" => "2",
312  "WITH" => "2",
313  "WRITETEXT" => "2",
314  "sp_column_privileges" => "3",
315  "sp_special_columns" => "3",
316  "sp_columns" => "3",
317  "sp_sproc_columns" => "3",
318  "sp_databases" => "3",
319  "sp_statistics" => "3",
320  "sp_datatype_info" => "3",
321  "sp_stored_procedures" => "3",
322  "sp_fkeys" => "3",
323  "sp_table_privileges" => "3",
324  "sp_pkeys" => "3",
325  "sp_tables" => "3",
326  "sp_server_info" => "3",
327  "sp_addpublisher" => "3",
328  "sp_dropsubscriber" => "3",
329  "sp_addsubscriber" => "3",
330  "sp_helpdistributor" => "3",
331  "sp_changesubscriber" => "3",
332  "sp_helpserver" => "3",
333  "sp_dboption" => "3",
334  "sp_helpsubscriberinfo" => "3",
335  "sp_droppublisher" => "3",
336  "sp_replsync" => "3",
337  "sp_addarticle" => "3",
338  "sp_helparticle" => "3",
339  "sp_addpublication" => "3",
340  "sp_helparticlecolumns" => "3",
341  "sp_articlecolumn" => "3",
342  "sp_helppublication" => "3",
343  "sp_changearticle" => "3",
344  "sp_helppublicationsync" => "3",
345  "sp_changepublication" => "3",
346  "sp_helpreplicationdb" => "3",
347  "sp_droparticle" => "3",
348  "sp_replflush" => "3",
349  "sp_droppublication" => "3",
350  "sp_replstatus" => "3",
351  "sp_enumfullsubscribers" => "3",
352  "sp_addsubscription" => "3",
353  "sp_helpsubscription" => "3",
354  "sp_changesubscription" => "3",
355  "sp_subscribe" => "3",
356  "sp_changesubstatus" => "3",
357  "sp_unsubscribe" => "3",
358  "sp_dropsubscription" => "3",
359  "sp_distcounters" => "3",
360  "sp_replica" => "3",
361  "sp_replcleanup" => "3",
362  "sp_MSkill_job" => "3",
363  "sp_repldone" => "3",
364  "sp_replcmds" => "3",
365  "sp_repltrans" => "3",
366  "sp_replcounters" => "3",
367  "sp_addtask" => "3",
368  "sp_helptask" => "3",
369  "sp_droptask" => "3",
370  "sp_addalert" => "3",
371  "sp_helpalert" => "3",
372  "sp_addnotification" => "3",
373  "sp_helpnotification" => "3",
374  "sp_addoperator" => "3",
375  "sp_helpoperator" => "3",
376  "sp_dropalert" => "3",
377  "sp_updatealert" => "3",
378  "sp_dropnotification" => "3",
379  "sp_updatenotification" => "3",
380  "sp_dropoperator" => "3",
381  "sp_updateoperator" => "3",
382  "sp_purgehistory" => "3",
383  "sp_helphistory" => "3",
384  "sp_updatetask" => "3",
385  "sp_MSSQLOLE65_version" => "3",
386  "sp_MSSQLOLE_version" => "3",
387  "sp_MS_upd_sysobj_category" => "3",
388  "sp_MSdbuserprofile" => "3",
389  "sp_MSdependencies" => "3",
390  "sp_MSenumsubsystems" => "3",
391  "sp_MSfilterclause" => "3",
392  "sp_MSforeach_worker" => "3",
393  "sp_MSforeachdb" => "3",
394  "sp_MSforeachtable" => "3",
395  "sp_MSgetalertinfo" => "3",
396  "sp_MSgetexecinfo" => "3",
397  "sp_MShelpcolumns" => "3",
398  "sp_MShelpindex" => "3",
399  "sp_MShelptype" => "3",
400  "sp_MSindexspace" => "3",
401  "sp_MSkilldb" => "3",
402  "sp_MSloginmappings" => "3",
403  "sp_MSmatchkey" => "3",
404  "sp_MSobjectprivs" => "3",
405  "sp_MSsetalertinfo" => "3",
406  "sp_MSsetexecinfo" => "3",
407  "sp_MSsettopology" => "3",
408  "sp_MSsubscriptions" => "3",
409  "sp_MStablechecks" => "3",
410  "sp_MStablekeys" => "3",
411  "sp_MStablerefs" => "3",
412  "sp_MStablespace" => "3",
413  "sp_MSuninstall_publishing" => "3",
414  "sp_MSuniquename" => "3",
415  "sp_TDGEN_CURSOR1" => "3",
416  "sp_TD_table_summary" => "3",
417  "sp_TDaccess_server_drives" => "3",
418  "sp_TDblocks" => "3",
419  "sp_TDcheck_indexes" => "3",
420  "sp_TDcheck_rowcount" => "3",
421  "sp_TDdb_locks" => "3",
422  "sp_TDdbsizes_data" => "3",
423  "sp_TDdbsizes_log" => "3",
424  "sp_TDdbsizes_total" => "3",
425  "sp_TDdefault_db_audit" => "3",
426  "sp_TDdevspace" => "3",
427  "sp_TDdroplogin" => "3",
428  "sp_TDformat_commas" => "3",
429  "sp_TDget_logins" => "3",
430  "sp_TDgetdbsizes" => "3",
431  "sp_TDhelpdb" => "3",
432  "sp_TDhelplogin" => "3",
433  "sp_TDmirrorlogin" => "3",
434  "sp_TDpassword_change" => "3",
435  "sp_TDrunthis" => "3",
436  "sp_TDspaceused" => "3",
437  "sp_TDtable_sizes" => "3",
438  "sp_TDupdate_stats" => "3",
439  "sp_a_count_bits_on" => "3",
440  "sp_abort_xact" => "3",
441  "sp_add_app_user" => "3",
442  "sp_addalias" => "3",
443  "sp_addextendedproc" => "3",
444  "sp_addgroup" => "3",
445  "sp_addlanguage" => "3",
446  "sp_addlogin" => "3",
447  "sp_addmessage" => "3",
448  "sp_addremotelogin" => "3",
449  "sp_addsegment" => "3",
450  "sp_addserver" => "3",
451  "sp_addtype" => "3",
452  "sp_addumpdevice" => "3",
453  "sp_adduser" => "3",
454  "sp_altermessage" => "3",
455  "sp_articlefilter" => "3",
456  "sp_articletextcol" => "3",
457  "sp_articleview" => "3",
458  "sp_bindefault" => "3",
459  "sp_bindrule" => "3",
460  "sp_blockcnt" => "3",
461  "sp_certify_removable" => "3",
462  "sp_change_users_login" => "3",
463  "sp_changedbowner" => "3",
464  "sp_changegroup" => "3",
465  "sp_check_objects" => "3",
466  "sp_check_removable" => "3",
467  "sp_checknames" => "3",
468  "sp_chklangparam" => "3",
469  "sp_coalesce_fragments" => "3",
470  "sp_commit_xact" => "3",
471  "sp_commonkey" => "3",
472  "sp_configure" => "3",
473  "sp_create_distribution_tables" => "3",
474  "sp_create_removable" => "3",
475  "sp_db_locks" => "3",
476  "sp_db_upgrade" => "3",
477  "sp_db_upgrade1" => "3",
478  "sp_db_upgrade2" => "3",
479  "sp_db_upgrade3" => "3",
480  "sp_dbinstall" => "3",
481  "sp_dbremove" => "3",
482  "sp_ddopen" => "3",
483  "sp_defaultdb" => "3",
484  "sp_defaultlanguage" => "3",
485  "sp_depends" => "3",
486  "sp_devcreate" => "3",
487  "sp_devoption" => "3",
488  "sp_diskdefault" => "3",
489  "sp_dropalias" => "3",
490  "sp_dropdevice" => "3",
491  "sp_dropextendedproc" => "3",
492  "sp_dropgroup" => "3",
493  "sp_dropkey" => "3",
494  "sp_droplanguage" => "3",
495  "sp_droplogin" => "3",
496  "sp_dropmessage" => "3",
497  "sp_dropremotelogin" => "3",
498  "sp_dropsegment" => "3",
499  "sp_dropserver" => "3",
500  "sp_droptype" => "3",
501  "sp_dropuser" => "3",
502  "sp_dropwebtask" => "3",
503  "sp_dsninfo" => "3",
504  "sp_dtdba_checkfull" => "3",
505  "sp_dtdba_constraint" => "3",
506  "sp_dtdba_createsql" => "3",
507  "sp_dtdba_freedevice" => "3",
508  "sp_dtdba_getobj" => "3",
509  "sp_dtdba_getobjectpermissions" => "3",
510  "sp_dtdba_gettabkey" => "3",
511  "sp_dtdba_gettabper" => "3",
512  "sp_dtdba_getuserpermissions" => "3",
513  "sp_dtdba_helpcolumn" => "3",
514  "sp_dtdba_helpcolumn2" => "3",
515  "sp_dtdba_indexkeys" => "3",
516  "sp_dtdba_userprotects" => "3",
517  "sp_enumdsn" => "3",
518  "sp_exec" => "3",
519  "sp_extendsegment" => "3",
520  "sp_fallback_MS_enroll_db" => "3",
521  "sp_fallback_MS_enroll_dev" => "3",
522  "sp_fallback_MS_enroll_usg" => "3",
523  "sp_fallback_MS_sel_fb_svr" => "3",
524  "sp_fallback_MS_verify_ri" => "3",
525  "sp_fallback_activate_svr" => "3",
526  "sp_fallback_deactivate_svr" => "3",
527  "sp_fallback_deactivate_svr_db" => "3",
528  "sp_fallback_enroll_svr_db" => "3",
529  "sp_fallback_help" => "3",
530  "sp_fallback_help_db_dev" => "3",
531  "sp_fallback_permanent_svr" => "3",
532  "sp_fallback_upd_dev_drive" => "3",
533  "sp_fallback_withdraw_svr_db" => "3",
534  "sp_fixindex" => "3",
535  "sp_foreignkey" => "3",
536  "sp_get_volume_label" => "3",
537  "sp_hcchangesubstatus1" => "3",
538  "sp_hcchangesubstatus2" => "3",
539  "sp_help" => "3",
540  "sp_help_revdatabase" => "3",
541  "sp_helpconstraint" => "3",
542  "sp_helpdb" => "3",
543  "sp_helpdevice" => "3",
544  "sp_helpextendedproc" => "3",
545  "sp_helpgroup" => "3",
546  "sp_helpindex" => "3",
547  "sp_helpjoins" => "3",
548  "sp_helpkey" => "3",
549  "sp_helplanguage" => "3",
550  "sp_helplog" => "3",
551  "sp_helplogins" => "3",
552  "sp_helpremotelogin" => "3",
553  "sp_helprotect" => "3",
554  "sp_helpsegment" => "3",
555  "sp_helpsort" => "3",
556  "sp_helpsql" => "3",
557  "sp_helpstartup" => "3",
558  "sp_helptext" => "3",
559  "sp_helpuser" => "3",
560  "sp_kill" => "3",
561  "sp_lock" => "3",
562  "sp_lock2" => "3",
563  "sp_lockinfo" => "3",
564  "sp_logdevice" => "3",
565  "sp_lookup" => "3",
566  "sp_makestartup" => "3",
567  "sp_makewebtask" => "3",
568  "sp_markreport" => "3",
569  "sp_monitor" => "3",
570  "sp_namecrack" => "3",
571  "sp_namecrack_qi" => "3",
572  "sp_objcheck" => "3",
573  "sp_objectsegment" => "3",
574  "sp_password" => "3",
575  "sp_placeobject" => "3",
576  "sp_primarykey" => "3",
577  "sp_probe_xact" => "3",
578  "sp_processinfo" => "3",
579  "sp_processmail" => "3",
580  "sp_publishdb" => "3",
581  "sp_recompile" => "3",
582  "sp_remoteoption" => "3",
583  "sp_remove_xact" => "3",
584  "sp_rename" => "3",
585  "sp_renamedb" => "3",
586  "sp_runwebtask" => "3",
587  "sp_scan_xact" => "3",
588  "sp_schedulersignal" => "3",
589  "sp_serveroption" => "3",
590  "sp_setlangalias" => "3",
591  "sp_setnetname" => "3",
592  "sp_spaceused" => "3",
593  "sp_sqlexec" => "3",
594  "sp_sqlregister" => "3",
595  "sp_start_xact" => "3",
596  "sp_stat_xact" => "3",
597  "sp_sysbackuphistory_limiter" => "3",
598  "sp_tableoption" => "3",
599  "sp_tempdbspace" => "3",
600  "sp_textcolstatus" => "3",
601  "sp_unbindefault" => "3",
602  "sp_unbindrule" => "3",
603  "sp_unmakestartup" => "3",
604  "sp_user_counter1" => "3",
605  "sp_user_counter10" => "3",
606  "sp_user_counter2" => "3",
607  "sp_user_counter3" => "3",
608  "sp_user_counter4" => "3",
609  "sp_user_counter5" => "3",
610  "sp_user_counter6" => "3",
611  "sp_user_counter7" => "3",
612  "sp_user_counter8" => "3",
613  "sp_user_counter9" => "3",
614  "sp_userdefcounters" => "3",
615  "sp_validlang" => "3",
616  "sp_validname" => "3",
617  "sp_who" => "3",
618  "sp_who2" => "3",
619  "xp_enumgroups" => "3",
620  "xp_logininfo" => "3",
621  "xp_grantlogin" => "3",
622  "xp_revokelogin" => "3",
623  "xp_loginconfig" => "3",
624  "xp_deletemail" => "3",
625  "xp_sendmail" => "3",
626  "xp_findnextmsg" => "3",
627  "xp_startmail" => "3",
628  "xp_readmail" => "3",
629  "xp_stopmail" => "3",
630  "xp_cmdshell" => "3",
631  "xp_sprintf" => "3",
632  "xp_logevent" => "3",
633  "xp_sscanf" => "3",
634  "xp_msver" => "3",
635  "CONNECTIONS" => "4",
636  "CPU_BUSY" => "4",
637  "CURSOR_ROWS" => "4",
638  "DATEFIRST" => "4",
639  "DBTS" => "4",
640  "ERROR" => "4",
641  "FETCH_STATUS" => "4",
642  "IDLE" => "4",
643  "IO_BUSY" => "4",
644  "LANGID" => "4",
645  "LANGUAGE" => "4",
646  "MAX_CONNECTIONS" => "4",
647  "MAX_PRECISION" => "4",
648  "MICROSOFTVERSION" => "4",
649  "NESTLEVEL" => "4",
650  "PACK_RECEIVED" => "4",
651  "PACK_SENT" => "4",
652  "PACKET_ERRORS" => "4",
653  "PROCID" => "4",
654  "REMSERVER" => "4",
655  "SERVERNAME" => "4",
656  "SERVICENAME" => "4",
657  "SPID" => "4",
658  "TIMETICKS" => "4",
659  "TOTAL_ERRORS" => "4",
660  "TOTAL_READ" => "4",
661  "TOTAL_WRITE" => "4",
662  "TRANCOUNT" => "4",
663  "VERSION" => "4",
664  "ABS" => "5",
665  "ACOS" => "5",
666  "ASCII" => "5",
667  "ASIN" => "5",
668  "ATAN" => "5",
669  "ATN2" => "5",
670  "COL_NAME" => "5",
671  "CHARINDEX" => "5",
672  "CHAR" => "5",
673  "COT" => "5",
674  "COS" => "5",
675  "CEILING" => "5",
676  "COL_LENGTH" => "5",
677  "DB_NAME" => "5",
678  "DB_ID" => "5",
679  "DATALENGTH" => "5",
680  "DIFFERENCE" => "5",
681  "DATEADD" => "5",
682  "DATENAME" => "5",
683  "DATEDIFF" => "5",
684  "DATEPART" => "5",
685  "DEGREES" => "5",
686  "EXP" => "5",
687  "FLOOR" => "5",
688  "GETANSINULL" => "5",
689  "GETDATE" => "5",
690  "HOST_ID" => "5",
691  "HOST_NAME" => "5",
692  "ISNULL" => "5",
693  "INDEX_COL" => "5",
694  "IDENT_SEED" => "5",
695  "IDENT_INCR" => "5",
696  "LOWER" => "5",
697  "LTRIM" => "5",
698  "LOG" => "5",
699  "LOG10" => "5",
700  "OBJECT_ID" => "5",
701  "OBJECT_NAME" => "5",
702  "PATINDEX" => "5",
703  "POWER" => "5",
704  "PI" => "5",
705  "RTRIM" => "5",
706  "REVERSE" => "5",
707  "REPLICATE" => "5",
708  "RADIANS" => "5",
709  "RAND" => "5",
710  "ROUND" => "5",
711  "SUSER_NAME" => "5",
712  "SUSER_ID" => "5",
713  "STATS_DATE" => "5",
714  "SUBSTRING" => "5",
715  "STUFF" => "5",
716  "STR" => "5",
717  "SOUNDEX" => "5",
718  "SIGN" => "5",
719  "SIN" => "5",
720  "SQRT" => "5",
721  "TEXTVALID" => "5",
722  "TEXTPTR" => "5",
723  "TAN" => "5",
724  "USER_NAME" => "5",
725  "USER_ID" => "5",
726  "UPPER" => "5",
727  "BINARY" => "6",
728  "BIT" => "6",
729  "DATETIME" => "6",
730  "DECIMAL" => "6",
731  "FLOAT" => "6",
732  "IMAGE" => "6",
733  "INT" => "6",
734  "MONEY" => "6",
735  "NTEXT" => "6",
736  "NUMERIC" => "6",
737  "NVARCHAR" => "6",
738  "REAL" => "6",
739  "SMALLDATETIME" => "6",
740  "SMALLMONEY" => "6",
741  "TEXT" => "6",
742  "TIMESTAMP" => "6",
743  "TINYINT" => "6",
744  "UNIQUEIDENTIFIER" => "6",
745  "VARBINARY" => "6",
746  "VARCHAR" => "6");
747 
748 // Special extensions
749 
750 // Each category can specify a PHP function that returns an altered
751 // version of the keyword.
752 
753 
754 
755 $this->linkscripts = array(
756  "1" => "donothing",
757  "2" => "donothing",
758  "3" => "donothing",
759  "4" => "donothing",
760  "5" => "donothing",
761  "6" => "donothing");
762 }
763 
764 
765 function donothing($keywordin)
766 {
767  return $keywordin;
768 }
769 
770 }?>