ILIAS  Release_4_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
HFile_dtd Class Reference
+ Inheritance diagram for HFile_dtd:
+ Collaboration diagram for HFile_dtd:

Public Member Functions

 HFile_dtd ()
 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_dtd.php.

Member Function Documentation

HFile_dtd::donothing (   $keywordin)

Definition at line 89 of file HFile_dtd.php.

{
return $keywordin;
}
HFile_dtd::HFile_dtd ( )

Definition at line 6 of file HFile_dtd.php.

References HFile\HFile().

{
$this->HFile();
/*************************************/
// Beautifier Highlighting Configuration File
// DTD
/*************************************/
// Flags
$this->nocase = "0";
$this->notrim = "0";
$this->perl = "0";
// Colours
$this->colours = array("blue", "purple", "gray", "brown", "blue");
$this->quotecolour = "blue";
$this->blockcommentcolour = "green";
$this->linecommentcolour = "green";
// Indent Strings
$this->indent = array();
$this->unindent = array();
// String characters and delimiters
$this->stringchars = array();
$this->delimiters = array("~", "@", "$", "%", "^", "&", "*", "(", ")", "+", "=", "|", "\\", "{", "}", ":", ";", "\"", "'", "<", ">", " ", ",", " ", ".", "?");
$this->escchar = "";
// Comment settings
$this->linecommenton = array("");
$this->blockcommenton = array("<!--");
$this->blockcommentoff = array("-->");
// Keywords (keyword mapping to colour number)
$this->keywords = array(
"<!ATTLIST" => "1",
"<!DOCTYPE" => "1",
"<!ELEMENT" => "1",
"<!ENTITY" => "1",
"|" => "1",
">" => "1",
"(" => "1",
")" => "1",
"%;" => "2",
"#FIXED" => "3",
"#FIXED>" => "3",
"#IMPLIED" => "3",
"#IMPLIED>" => "3",
"#PCDATA" => "3",
"#REQUIRED" => "3",
"#REQUIRED>" => "3",
"CDATA" => "4",
"ENTITY" => "4",
"ENTITIES" => "4",
"ID" => "4",
"IDREF" => "4",
"IDREFS" => "4",
"NMTOKEN" => "4",
"NMTOKENS" => "4",
"NOTATION" => "4",
"EMPTY" => "5",
"EMPTY>" => "5");
// Special extensions
// Each category can specify a PHP function that returns an altered
// version of the keyword.
$this->linkscripts = array(
"1" => "donothing",
"2" => "donothing",
"3" => "donothing",
"4" => "donothing",
"5" => "donothing");
}

+ Here is the call graph for this function:


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