ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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
 __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_smil.php.

Member Function Documentation

◆ donothing()

HFile_smil::donothing (   $keywordin)

Definition at line 144 of file HFile_smil.php.

145  {
146  return $keywordin;
147  }

◆ HFile_smil()

HFile_smil::HFile_smil ( )

Definition at line 9 of file HFile_smil.php.

References array.

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

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