ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
HFile_plain.php
Go to the documentation of this file.
1<?php
2$BEAUT_PATH = realpath(".") . "/Services/COPage/syntax_highlight/php";
3if (!isset($BEAUT_PATH)) {
4 return;
5}
6require_once("$BEAUT_PATH/Beautifier/HFile.php");
7 class HFile_plain extends HFile
8 {
9 public function __construct()
10 {
11 parent::__construct();
12 /*************************************/
13 // Beautifier Highlighting Configuration File
14 // HTML
15 /*************************************/
16 // Flags
17
18 $this->nocase = "0";
19 $this->notrim = "1";
20 $this->perl = "0";
21
22 // Colours
23
24 $this->colours = array();
25 $this->quotecolour = "";
26 $this->blockcommentcolour = "";
27 $this->linecommentcolour = "";
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
50 // Special extensions
51
52 // Each category can specify a PHP function that returns an altered
53 // version of the keyword.
54
55
56 $this->linkscripts = array();
57 }
58
59
60 public function donothing($keywordin)
61 {
62 return $keywordin;
63 }
64 }
$BEAUT_PATH
Definition: HFile_plain.php:2
An exception for terminatinating execution or to throw for unit testing.
donothing($keywordin)
Definition: HFile_plain.php:60