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

Public Member Functions

 HFile_smil ()
 
 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_smil.php.

Member Function Documentation

◆ donothing()

HFile_smil::donothing (   $keywordin)

Definition at line 140 of file HFile_smil.php.

141 {
142  return $keywordin;
143 }

◆ HFile_smil()

HFile_smil::HFile_smil ( )

Definition at line 6 of file HFile_smil.php.

References HFile\HFile().

6  {
7  $this->HFile();
8 /*************************************/
9 // Beautifier Highlighting Configuration File
10 // SMIL
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");
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  "<a" => "1",
46  "</a>" => "1",
47  "<anchor" => "1",
48  "<anchor>" => "1",
49  "</anchor>" => "1",
50  "<animation>" => "1",
51  "</animation>" => "1",
52  "<audio" => "1",
53  "<audio>" => "1",
54  "</audio>" => "1",
55  "<body>" => "1",
56  "</body>" => "1",
57  "<head>" => "1",
58  "</head>" => "1",
59  "<img>" => "1",
60  "<layout" => "1",
61  "<layout>" => "1",
62  "</layout>" => "1",
63  "<meta" => "1",
64  "<par>" => "1",
65  "</par>" => "1",
66  "<ref>" => "1",
67  "</ref>" => "1",
68  "<region" => "1",
69  "<root-layout" => "1",
70  "<seq>" => "1",
71  "</seq>" => "1",
72  "<smil>" => "1",
73  "</smil>" => "1",
74  "<switch>" => "1",
75  "</switch>" => "1",
76  "<text" => "1",
77  "<text>" => "1",
78  "</text>" => "1",
79  "<textstream>" => "1",
80  "</textstream>" => "1",
81  "<video" => "1",
82  "<video>" => "1",
83  "</video>" => "1",
84  "//" => "1",
85  "/>" => "1",
86  "abstract=" => "2",
87  "alt=" => "2",
88  "anchor=" => "2",
89  "author=" => "2",
90  "background-color=" => "2",
91  "base=" => "2",
92  "begin=" => "2",
93  "clip-begin=" => "2",
94  "clip-end=" => "2",
95  "clock-val=" => "2",
96  "content=" => "2",
97  "coords=" => "2",
98  "copyright=" => "2",
99  "dur=" => "2",
100  "end=" => "2",
101  "endsync=" => "2",
102  "fill=" => "2",
103  "height=" => "2",
104  "href=" => "2",
105  "id=" => "2",
106  "longdesc=" => "2",
107  "name=" => "2",
108  "pics-label=" => "2",
109  "PICS-label=" => "2",
110  "region=" => "2",
111  "repeat=" => "2",
112  "show=" => "2",
113  "skip-content=" => "2",
114  "src=" => "2",
115  "system-bitrate=" => "2",
116  "system-captions=" => "2",
117  "system-language=" => "2",
118  "system-overdub-or-caption=" => "2",
119  "system-required=" => "2",
120  "system-screen-size=" => "2",
121  "system-screen-depth=" => "2",
122  "title=" => "2",
123  "type=" => "2",
124  "width=" => "2",
125  "=" => "2");
126 
127 // Special extensions
128 
129 // Each category can specify a PHP function that returns an altered
130 // version of the keyword.
131 
132 
133 
134 $this->linkscripts = array(
135  "1" => "donothing",
136  "2" => "donothing");
137 }
HFile()
Definition: HFile.php:24
+ Here is the call graph for this function:

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