ILIAS  Release_4_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
HFile_config.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_config extends HFile{
6  function HFile_config(){
7  $this->HFile();
8 /*************************************/
9 // Beautifier Highlighting Configuration File
10 // Config Files
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");
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  "AGENCY" => "1",
46  "API_USERS" => "1",
47  "ABSFONT" => "1",
48  "ALERT" => "1",
49  "BUSINESS" => "1",
50  "CLIENT_USERS" => "1",
51  "CODEPAGE" => "1",
52  "DEBUG" => "1",
53  "DISABLE_TOOLBAR" => "1",
54  "EXECUTE" => "1",
55  "EIS" => "1",
56  "FILE" => "1",
57  "FILECODEPAGE" => "1",
58  "HOST" => "1",
59  "JOB" => "1",
60  "LOG_FILE" => "1",
61  "LP" => "1",
62  "LPPATH" => "1",
63  "LOCAL" => "1",
64  "LOADPAGEMSG" => "1",
65  "MEMORY" => "1",
66  "NT95INTERFACE" => "1",
67  "ROUTE_FILE" => "1",
68  "SERVER" => "1",
69  "STORE" => "1",
70  "SQL" => "1",
71  "SPX" => "1",
72  "SQLCODEPAGE" => "1",
73  "SCENARIO_SIZE" => "1",
74  "SPLASH" => "1",
75  "TIMEOUT" => "1",
76  "THREADS" => "1",
77  "TCP" => "1",
78  "TCPX" => "1",
79  "WORKERS" => "1",
80  "WEBSERVER" => "1",
81  "WEBPORT" => "1",
82  "WEBTIMEOUT" => "1",
83  "WEBCGI" => "1",
84  "WEBCLASSES" => "1",
85  "WEBICONS" => "1",
86  "WEB_USERS" => "1",
87  "WEBCODEPAGE" => "1",
88  "WEBSSL" => "1",
89  "sqlentry" => "1",
90  "sqlodbc" => "1");
91 
92 // Special extensions
93 
94 // Each category can specify a PHP function that returns an altered
95 // version of the keyword.
96 
97 
98 
99 $this->linkscripts = array(
100  "1" => "donothing");
101 }
102 
103 
104 function donothing($keywordin)
105 {
106  return $keywordin;
107 }
108 
109 }?>