ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
HFile_realpix Class Reference
+ Inheritance diagram for HFile_realpix:
+ Collaboration diagram for HFile_realpix:

Public Member Functions

 HFile_realpix ()
 
 donothing ($keywordin)
 
- Public Member Functions inherited from HFile
 __construct ()
 
 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 7 of file HFile_realpix.php.

Member Function Documentation

◆ donothing()

HFile_realpix::donothing (   $keywordin)

Definition at line 153 of file HFile_realpix.php.

154  {
155  return $keywordin;
156  }

◆ HFile_realpix()

HFile_realpix::HFile_realpix ( )

Definition at line 9 of file HFile_realpix.php.

References array.

10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14  // RealPix
15  /*************************************/
16  // Flags
17 
18  $this->nocase = "1";
19  $this->notrim = "0";
20  $this->perl = "0";
21 
22  // Colours
23 
24  $this->colours = array("blue", "purple");
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  "<a" => "1",
50  "</a>" => "1",
51  "<b>" => "1",
52  "</b>" => "1",
53  "<br/>" => "1",
54  "<center>" => "1",
55  "</center>" => "1",
56  "<clear" => "1",
57  "<crossfade" => "1",
58  "<font" => "1",
59  "</font>" => "1",
60  "<fadein" => "1",
61  "<fadeout" => "1",
62  "<fill" => "1",
63  "<head" => "1",
64  "<hr" => "1",
65  "<i>" => "1",
66  "</i>" => "1",
67  "<image" => "1",
68  "<imfl>" => "1",
69  "</imfl>" => "1",
70  "<li>" => "1",
71  "</li>" => "1",
72  "<ol>" => "1",
73  "</ol>" => "1",
74  "<p>" => "1",
75  "</p>" => "1",
76  "<pos" => "1",
77  "<pre>" => "1",
78  "</pre>" => "1",
79  "<required>" => "1",
80  "</required>" => "1",
81  "<time" => "1",
82  "<tl>" => "1",
83  "</tl>" => "1",
84  "<tu>" => "1",
85  "</tu>" => "1",
86  "<u>" => "1",
87  "</u>" => "1",
88  "<ul>" => "1",
89  "</ul>" => "1",
90  "<viewchange" => "1",
91  "<window>" => "1",
92  "</window>" => "1",
93  "<wipe>" => "1",
94  "//" => "1",
95  "/>" => "1",
96  "aspect=" => "2",
97  "author=" => "2",
98  "begin=" => "2",
99  "bgcolor=" => "2",
100  "bitrate=" => "2",
101  "charset=" => "2",
102  "color=" => "2",
103  "copyright=" => "2",
104  "crawlrate=" => "2",
105  "direction=" => "2",
106  "dsth=" => "2",
107  "dstw=" => "2",
108  "dstx=" => "2",
109  "dsty=" => "2",
110  "duration=" => "2",
111  "end=" => "2",
112  "face=" => "2",
113  "handle=" => "2",
114  "height=" => "2",
115  "href=" => "2",
116  "link=" => "2",
117  "loop=" => "2",
118  "maxfps=" => "2",
119  "name=" => "2",
120  "preroll=" => "2",
121  "scrollrate=" => "2",
122  "size=" => "2",
123  "srch=" => "2",
124  "srcw=" => "2",
125  "srcx=" => "2",
126  "srcy=" => "2",
127  "start=" => "2",
128  "target=" => "2",
129  "timeformat=" => "2",
130  "title=" => "2",
131  "type=" => "2",
132  "underline_hyperlinks=" => "2",
133  "url=" => "2",
134  "width=" => "2",
135  "wordwrap=" => "2",
136  "x=" => "2",
137  "y=" => "2",
138  "=" => "2");
139 
140  // Special extensions
141 
142  // Each category can specify a PHP function that returns an altered
143  // version of the keyword.
144 
145 
146 
147  $this->linkscripts = array(
148  "1" => "donothing",
149  "2" => "donothing");
150  }
Create styles array
The data for the language used.
Definition: HFile.php:21

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