ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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)) {
4  return;
5 }
6 require_once("$BEAUT_PATH/Beautifier/HFile.php");
7  class HFile_config extends HFile
8  {
9  public function HFile_config()
10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14  // Config Files
15  /*************************************/
16  // Flags
17 
18  $this->nocase = "0";
19  $this->notrim = "0";
20  $this->perl = "0";
21 
22  // Colours
23 
24  $this->colours = array("blue");
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  "AGENCY" => "1",
50  "API_USERS" => "1",
51  "ABSFONT" => "1",
52  "ALERT" => "1",
53  "BUSINESS" => "1",
54  "CLIENT_USERS" => "1",
55  "CODEPAGE" => "1",
56  "DEBUG" => "1",
57  "DISABLE_TOOLBAR" => "1",
58  "EXECUTE" => "1",
59  "EIS" => "1",
60  "FILE" => "1",
61  "FILECODEPAGE" => "1",
62  "HOST" => "1",
63  "JOB" => "1",
64  "LOG_FILE" => "1",
65  "LP" => "1",
66  "LPPATH" => "1",
67  "LOCAL" => "1",
68  "LOADPAGEMSG" => "1",
69  "MEMORY" => "1",
70  "NT95INTERFACE" => "1",
71  "ROUTE_FILE" => "1",
72  "SERVER" => "1",
73  "STORE" => "1",
74  "SQL" => "1",
75  "SPX" => "1",
76  "SQLCODEPAGE" => "1",
77  "SCENARIO_SIZE" => "1",
78  "SPLASH" => "1",
79  "TIMEOUT" => "1",
80  "THREADS" => "1",
81  "TCP" => "1",
82  "TCPX" => "1",
83  "WORKERS" => "1",
84  "WEBSERVER" => "1",
85  "WEBPORT" => "1",
86  "WEBTIMEOUT" => "1",
87  "WEBCGI" => "1",
88  "WEBCLASSES" => "1",
89  "WEBICONS" => "1",
90  "WEB_USERS" => "1",
91  "WEBCODEPAGE" => "1",
92  "WEBSSL" => "1",
93  "sqlentry" => "1",
94  "sqlodbc" => "1");
95 
96  // Special extensions
97 
98  // Each category can specify a PHP function that returns an altered
99  // version of the keyword.
100 
101 
102 
103  $this->linkscripts = array(
104  "1" => "donothing");
105  }
106 
107 
108  public function donothing($keywordin)
109  {
110  return $keywordin;
111  }
112  }
Create styles array
The data for the language used.
donothing($keywordin)
Definition: HFile.php:21
$BEAUT_PATH
Definition: HFile_config.php:2