ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
HFile_hamster Class Reference
+ Inheritance diagram for HFile_hamster:
+ Collaboration diagram for HFile_hamster:

Public Member Functions

 HFile_hamster ()
 
 donothing ($keywordin)
 

Detailed Description

Definition at line 5 of file HFile_hamster.php.

Member Function Documentation

◆ donothing()

HFile_hamster::donothing (   $keywordin)

Definition at line 78 of file HFile_hamster.php.

79{
80 return $keywordin;
81}

◆ HFile_hamster()

HFile_hamster::HFile_hamster ( )

Definition at line 6 of file HFile_hamster.php.

6 {
7 $this->HFile();
8/*************************************/
9// Beautifier Highlighting Configuration File
10// Hamster Scripts
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");
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 "ras.dial" => "1",
46 "ras.hangup" => "1",
47 "setlogin" => "1",
48 "msgbox" => "2",
49 "quit" => "2",
50 "restart" => "2",
51 "start.wait" => "2",
52 "start.nowait" => "2",
53 "wait.delay" => "2",
54 "wait.idle" => "2",
55 "wait.until" => "2",
56 "fetchmail" => "3",
57 "mail.pull" => "3",
58 "news.post" => "3",
59 "news.pull" => "3",
60 "news.purge" => "3",
61 "news.rebuildhistory" => "3",
62 "sendmail" => "3");
63
64// Special extensions
65
66// Each category can specify a PHP function that returns an altered
67// version of the keyword.
68
69
70
71$this->linkscripts = array(
72 "1" => "donothing",
73 "2" => "donothing",
74 "3" => "donothing");
75}

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