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

Public Member Functions

 HFile_vtml ()
 
 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_vtml.php.

Member Function Documentation

◆ donothing()

HFile_vtml::donothing (   $keywordin)

Definition at line 134 of file HFile_vtml.php.

135  {
136  return $keywordin;
137  }

◆ HFile_vtml()

HFile_vtml::HFile_vtml ( )

Definition at line 9 of file HFile_vtml.php.

References array.

10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14  // VTML
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  "<ATTRIB" => "1",
50  "<ATTRIBUTES>" => "1",
51  "</ATTRIBUTES>" => "1",
52  "<CONTAINER" => "1",
53  "</CONTAINER>" => "1",
54  "<CONTROL" => "1",
55  "<EDITORLAYOUT" => "1",
56  "</EDITORLAYOUT>" => "1",
57  "<TAG>" => "1",
58  "<TAG" => "1",
59  "</TAG>" => "1",
60  "<TAGLAYOUT>" => "1",
61  "</TAGLAYOUT>" => "1",
62  "<WIZBREAK>" => "1",
63  "<WIZCONTINUE>" => "1",
64  "<WIZIF" => "1",
65  "</WIZIF>" => "1",
66  "<WIZELSE>" => "1",
67  "<WIZLOOP" => "1",
68  "</WIZLOOP>" => "1",
69  "<WZISET" => "1",
70  "ALIGN=" => "2",
71  "ALLOWDECIMALPOINT=" => "2",
72  "ALLOWNEGATIVE=" => "2",
73  "ANCHOR=" => "2",
74  "ATTRIBUTES" => "2",
75  "AUTOSELECT=" => "2",
76  "AUTOSIZE=" => "2",
77  "BODYEDITING=" => "2",
78  "CAPTION=" => "2",
79  "CENTER=" => "2",
80  "CHARCASE=" => "2",
81  "CHECKED=" => "2",
82  "CONDITION=" => "2",
83  "CONTROL=" => "2",
84  "CORNER=" => "2",
85  "DEFAULT=" => "2",
86  "DIRONLY=" => "2",
87  "DOWN=" => "2",
88  "DSNAMECONTROL=" => "2",
89  "EDITABLE=" => "2",
90  "FILENAMEONLY=" => "2",
91  "FILEPATH=" => "2",
92  "FILTER=" => "2",
93  "FROM=" => "2",
94  "HEIGHT=" => "2",
95  "HORIZRESIZE=" => "2",
96  "INDEX=" => "2",
97  "LFHEIGHT=" => "2",
98  "LFWIDTH=" => "2",
99  "LIST=" => "2",
100  "MAXHEIGHTPADDING=" => "2",
101  "MAXLENGTH=" => "2",
102  "MAXWIDTHPADDING=" => "2",
103  "MULTILINE=" => "2",
104  "NAME=" => "2",
105  "PASSWORDCHAR=" => "2",
106  "QUERYNAMECONTROL=" => "2",
107  "RELATIVE=" => "2",
108  "RIGHT=" => "2",
109  "SCROLLBAR=" => "2",
110  "SELECTED=" => "2",
111  "STEP=" => "2",
112  "TO=" => "2",
113  "TRANSPARENT=" => "2",
114  "TYPE=" => "2",
115  "VALIGN=" => "2",
116  "VALUE=" => "2",
117  "VERTRESIZE=" => "2",
118  "WIDTH=" => "2",
119  "WRAP=" => "2");
120 
121  // Special extensions
122 
123  // Each category can specify a PHP function that returns an altered
124  // version of the keyword.
125 
126 
127 
128  $this->linkscripts = array(
129  "1" => "donothing",
130  "2" => "donothing");
131  }
Create styles array
The data for the language used.
Definition: HFile.php:21

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