Public Member Functions | |
HFile_sgml () | |
donothing ($keywordin) |
Definition at line 5 of file HFile_sgml.php.
HFile_sgml::donothing | ( | $ | keywordin | ) |
Definition at line 62 of file HFile_sgml.php.
{
return $keywordin;
}
HFile_sgml::HFile_sgml | ( | ) |
Definition at line 6 of file HFile_sgml.php.
References HFile::HFile().
{ $this->HFile(); /*************************************/ // Beautifier Highlighting Configuration File // SGML /*************************************/ // Flags $this->nocase = "1"; $this->notrim = "0"; $this->perl = "0"; // Colours $this->colours = array("blue", "purple"); $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( "<>" => "1", "%;" => "2", "&;" => "2"); // Special extensions // Each category can specify a PHP function that returns an altered // version of the keyword. $this->linkscripts = array( "1" => "donothing", "2" => "donothing"); }