ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5
HFile_VerityTopics Class Reference
+ Inheritance diagram for HFile_VerityTopics:
+ Collaboration diagram for HFile_VerityTopics:

Public Member Functions

 HFile_VerityTopics ()
 
 donothing ($keywordin)
 
- Public Member Functions inherited from HFile
 HFile ()
 
 parse_file ($file)
 
 to_perl ($stub, $tofile=1)
 
 to_php ($stub, $tofile=1)
 
 _get_categories ()
 
 _dump_linkscripts ()
 
 _dump_perl_linkscripts ()
 
 _dump_perl_defaultscripts ()
 
 _dump_colours ()
 
 _dump_var ($variable, $name)
 
 _dump_array ($array, $name)
 
 _dump_perl_array ($array, $name)
 
 _dump_hash ($hash, $name)
 
 _dump_perl_hash ($hash, $name)
 

Detailed Description

Definition at line 5 of file HFile_VerityTopics.php.

Member Function Documentation

◆ donothing()

HFile_VerityTopics::donothing (   $keywordin)

Definition at line 95 of file HFile_VerityTopics.php.

96 {
97  return $keywordin;
98 }

◆ HFile_VerityTopics()

HFile_VerityTopics::HFile_VerityTopics ( )

Definition at line 6 of file HFile_VerityTopics.php.

References HFile\HFile().

6  {
7  $this->HFile();
8 /*************************************/
9 // Beautifier Highlighting Configuration File
10 // Verity Topic File
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");
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  "<ACCRUE>" => "1",
46  "<ALL>" => "1",
47  "<AND>" => "1",
48  "<ANY>" => "1",
49  "<CONTAINS>" => "1",
50  "<ENDS>" => "1",
51  "<FILTER>" => "1",
52  "<FULLTEXT>" => "1",
53  "<IN>" => "1",
54  "<MATCHES>" => "1",
55  "<NEAR>" => "1",
56  "<OR>" => "1",
57  "<PARAGRAPH>" => "1",
58  "<PHRASE>" => "1",
59  "<PRODUCT>" => "1",
60  "<SENTENCE>" => "1",
61  "<SOUNDEX>" => "1",
62  "<STARTS>" => "1",
63  "<STEM>" => "1",
64  "<SUBSTRING>" => "1",
65  "<THESAURUS>" => "1",
66  "<WHERE>" => "1",
67  "<WILDCARD>" => "1",
68  "<WORD>" => "1",
69  "<YESNO>" => "1",
70  "<CASE>" => "2",
71  "<MANY>" => "2",
72  "<NOT>" => "2",
73  "<ORDER>" => "2",
74  "*" => "3",
75  "?" => "3",
76  "definition" => "4",
77  "wordtext" => "4",
78  "zonespec" => "4");
79 
80 // Special extensions
81 
82 // Each category can specify a PHP function that returns an altered
83 // version of the keyword.
84 
85 
86 
87 $this->linkscripts = array(
88  "1" => "donothing",
89  "2" => "donothing",
90  "3" => "donothing",
91  "4" => "donothing");
92 }
HFile()
Definition: HFile.php:24
+ Here is the call graph for this function:

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