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

Public Member Functions

 HFile_mason ()
 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_mason.php.

Member Function Documentation

HFile_mason::donothing (   $keywordin)

Definition at line 753 of file HFile_mason.php.

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

Definition at line 6 of file HFile_mason.php.

References HFile\HFile().

{
$this->HFile();
/*************************************/
// Beautifier Highlighting Configuration File
// Mason
/*************************************/
// Flags
$this->nocase = "1";
$this->notrim = "0";
$this->perl = "0";
// Colours
$this->colours = array("blue", "gray", "purple", "brown", "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(
"<A" => "1",
"</A>" => "1",
"<ABBR>" => "1",
"<ABBR" => "1",
"</ABBR>" => "1",
"<ABOVE>" => "1",
"<ACRONYM>" => "1",
"<ACRONYM" => "1",
"</ACRONYM>" => "1",
"<ADDRESS>" => "1",
"<ADDRESS" => "1",
"</ADDRESS>" => "1",
"<APPLET" => "1",
"</APPLET>" => "1",
"<ARRAY>" => "1",
"<AREA" => "1",
"</AREA" => "1",
"<B>" => "1",
"<B" => "1",
"</B>" => "1",
"<BASE" => "1",
"<BASEFONT" => "1",
"<BDO>" => "1",
"<BDO" => "1",
"</BDO>" => "1",
"<BGSOUND" => "1",
"<BIG>" => "1",
"<BIG" => "1",
"</BIG>" => "1",
"<BLINK>" => "1",
"</BLINK>" => "1",
"<BLOCKQUOTE>" => "1",
"<BLOCKQUOTE" => "1",
"</BLOCKQUOTE>" => "1",
"<BODY" => "1",
"<BODY>" => "1",
"</BODY>" => "1",
"<BOX>" => "1",
"<BR" => "1",
"<BR>" => "1",
"<BLINK" => "1",
"<BUTTON>" => "1",
"</BUTTON>" => "1",
"<CAPTION>" => "1",
"<CAPTION" => "1",
"</CAPTION>" => "1",
"<CENTER>" => "1",
"<CENTER" => "1",
"</CENTER>" => "1",
"<CITE>" => "1",
"<CITE" => "1",
"</CITE>" => "1",
"<CODE>" => "1",
"<CODE" => "1",
"</CODE>" => "1",
"<COL>" => "1",
"<COLGROUP>" => "1",
"</COLGROUP>" => "1",
"<COMMENT>" => "1",
"</COMMENT>" => "1",
"<DD>" => "1",
"<DD" => "1",
"</DD>" => "1",
"<DEL>" => "1",
"<DEL" => "1",
"</DEL>" => "1",
"<DFN>" => "1",
"<DFN" => "1",
"</DFN>" => "1",
"<DIR>" => "1",
"<DIR" => "1",
"</DIR>" => "1",
"<DIV>" => "1",
"<DIV" => "1",
"</DIV>" => "1",
"<DL>" => "1",
"<DL" => "1",
"</DL>" => "1",
"<DT>" => "1",
"<DT" => "1",
"</DT>" => "1",
"<EM>" => "1",
"<EM" => "1",
"</EM>" => "1",
"<EMBED" => "1",
"<FIELDSET>" => "1",
"<FIELDSET" => "1",
"</FIELDSET>" => "1",
"<FIG>" => "1",
"<FONT" => "1",
"</FONT>" => "1",
"<FORM>" => "1",
"<FORM" => "1",
"</FORM>" => "1",
"<FRAME" => "1",
"<FRAMESET" => "1",
"</FRAMESET>" => "1",
"<H1>" => "1",
"<H1" => "1",
"</H1>" => "1",
"<H2>" => "1",
"<H2" => "1",
"</H2>" => "1",
"<H3>" => "1",
"<H3" => "1",
"</H3>" => "1",
"<H4>" => "1",
"<H4" => "1",
"</H4>" => "1",
"<H5>" => "1",
"<H5" => "1",
"</H5>" => "1",
"<H6>" => "1",
"<H6" => "1",
"</H6>" => "1",
"<HEAD>" => "1",
"<HEAD" => "1",
"</HEAD>" => "1",
"<HR>" => "1",
"<HR" => "1",
"<HTML>" => "1",
"<HTML" => "1",
"</HTML>" => "1",
"<I>" => "1",
"<I" => "1",
"</I>" => "1",
"<IFRAME>" => "1",
"</IFRAME>" => "1",
"<ILAYER>" => "1",
"</ILAYER>" => "1",
"<IMG" => "1",
"<INPUT>" => "1",
"<INPUT" => "1",
"<INS>" => "1",
"<INS" => "1",
"</INS>" => "1",
"<ISINDEX>" => "1",
"<ISINDEX" => "1",
"<KBD>" => "1",
"<KBD" => "1",
"</KBD>" => "1",
"<LABEL>" => "1",
"<LABEL" => "1",
"</LABEL>" => "1",
"<LAYER>" => "1",
"<LAYER" => "1",
"</LAYER>" => "1",
"<LEGEND>" => "1",
"<LEGEND" => "1",
"</LEGEND>" => "1",
"<LI>" => "1",
"<LI" => "1",
"</LI>" => "1",
"<LINK" => "1",
"<LISTING>" => "1",
"</LISTING>" => "1",
"<MAP" => "1",
"</MAP>" => "1",
"<MARQUEE" => "1",
"</MARQUEE>" => "1",
"<MENU>" => "1",
"<MENU" => "1",
"</MENU>" => "1",
"<META" => "1",
"<MULTICOL>" => "1",
"</MULTICOL>" => "1",
"<NEXTID" => "1",
"<NOBR>" => "1",
"</NOBR>" => "1",
"<NOFRAMES>" => "1",
"</NOFRAMES>" => "1",
"<NOLAYER>" => "1",
"</NOLAYER>" => "1",
"<NOTE>" => "1",
"</NOTE>" => "1",
"<NOSCRIPT>" => "1",
"</NOSCRIPT>" => "1",
"<OBJECT>" => "1",
"<OBJECT" => "1",
"<OL>" => "1",
"<OL" => "1",
"</OL>" => "1",
"<OPTION>" => "1",
"<OPTION" => "1",
"</OPTION>" => "1",
"<OPTGROUP>" => "1",
"<OPTGROUP" => "1",
"</OPTGROUP>" => "1",
"<P" => "1",
"<P>" => "1",
"</P>" => "1",
"<PARAM" => "1",
"<PRE>" => "1",
"<PRE" => "1",
"</PRE>" => "1",
"<Q>" => "1",
"<Q" => "1",
"</Q>" => "1",
"<QUOTE>" => "1",
"<RANGE>" => "1",
"<ROOT>" => "1",
"<S>" => "1",
"<S" => "1",
"</S>" => "1",
"<SAMP>" => "1",
"<SAMP" => "1",
"</SAMP>" => "1",
"<SCRIPT" => "1",
"<SCRIPT>" => "1",
"</SCRIPT>" => "1",
"<SELECT" => "1",
"</SELECT>" => "1",
"<SMALL>" => "1",
"<SMALL" => "1",
"</SMALL>" => "1",
"<SOUND" => "1",
"<SPACER>" => "1",
"<SPAN>" => "1",
"<SPAN" => "1",
"</SPAN>" => "1",
"<SQRT>" => "1",
"<STRIKE>" => "1",
"<STRIKE" => "1",
"</STRIKE>" => "1",
"<STRONG>" => "1",
"<STRONG" => "1",
"</STRONG>" => "1",
"<STYLE>" => "1",
"<STYLE" => "1",
"</STYLE>" => "1",
"<SUB>" => "1",
"<SUB" => "1",
"</SUB>" => "1",
"<SUP>" => "1",
"<SUP" => "1",
"</SUP>" => "1",
"<TABLE>" => "1",
"<TABLE" => "1",
"</TABLE>" => "1",
"<TBODY>" => "1",
"<TBODY" => "1",
"</TBODY>" => "1",
"<TD" => "1",
"<TD>" => "1",
"</TD>" => "1",
"<TEXT>" => "1",
"<TEXTAREA" => "1",
"<TEXTAREA>" => "1",
"</TEXTAREA>" => "1",
"<TFOOT>" => "1",
"<TFOOT" => "1",
"</TFOOT>" => "1",
"<TH" => "1",
"<TH>" => "1",
"</TH>" => "1",
"<THEAD>" => "1",
"<THEAD" => "1",
"</THEAD>" => "1",
"<TITLE>" => "1",
"</TITLE>" => "1",
"<TR" => "1",
"<TR>" => "1",
"</TR>" => "1",
"<TT>" => "1",
"</TT>" => "1",
"<TT" => "1",
"<U>" => "1",
"<U" => "1",
"</U>" => "1",
"<UL>" => "1",
"<UL" => "1",
"</UL>" => "1",
"<VAR>" => "1",
"</VAR>" => "1",
"<VAR" => "1",
"<WBR>" => "1",
"<XMP>" => "1",
"</XMP>" => "1",
"%" => "3",
"<%" => "1",
"%>" => "1",
"<%PERL>" => "1",
"</%PERL>" => "1",
"<%INIT>" => "1",
"</%INIT>" => "1",
"<%CLEANUP>" => "1",
"</%CLEANUP>" => "1",
"<%ARGS>" => "1",
"</%ARGS>" => "1",
"<%ONCE>" => "1",
"</%ONCE>" => "1",
"<%DEF" => "1",
"</%DEF>" => "1",
"<%FILTER>" => "1",
"</%FILTER>" => "1",
"<%DOC>" => "1",
"</%DOC>" => "1",
"<%TEXT>" => "1",
"</%TEXT>" => "1",
"ABBR=" => "2",
"ACCEPT-CHARSET=" => "2",
"ACCEPT=" => "2",
"ACCESSKEY=" => "2",
"ACTION=" => "2",
"ALIGN=" => "2",
"ALINK=" => "2",
"ALT=" => "2",
"ARCHIVE=" => "2",
"AXIS=" => "2",
"BACKGROUND=" => "2",
"BEHAVIOR" => "2",
"BELOW" => "2",
"BGCOLOR=" => "2",
"BORDER=" => "2",
"CELLPADDING=" => "2",
"CELLSPACING=" => "2",
"CHAR=" => "2",
"CHAROFF=" => "2",
"CHARSET=" => "2",
"CHECKED" => "2",
"CITE=" => "2",
"CLASS=" => "2",
"CLASSID=" => "2",
"CLEAR=" => "2",
"CODE=" => "2",
"CODEBASE=" => "2",
"CODETYPE=" => "2",
"COLOR=" => "2",
"COLS=" => "2",
"COLSPAN=" => "2",
"COMPACT" => "2",
"CONTENT=" => "2",
"COORDS=" => "2",
"DATA=" => "2",
"DATETIME=" => "2",
"DECLARE" => "2",
"DEFER" => "2",
"DIR=" => "2",
"DISABLED" => "2",
"ENCTYPE=" => "2",
"FACE=" => "2",
"FOR=" => "2",
"FRAME=" => "2",
"FRAMEBORDER=" => "2",
"FRAMESPACING=" => "2",
"HEADERS=" => "2",
"HEIGHT=" => "2",
"HIDDEN=" => "2",
"HREF=" => "2",
"HREFLANG=" => "2",
"HSPACE=" => "2",
"HTTP-EQUIV=" => "2",
"ID=" => "2",
"ISMAP=" => "2",
"LABEL=" => "2",
"LANG=" => "2",
"LANGUAGE=" => "2",
"LINK=" => "2",
"LOOP=" => "2",
"LONGDESC=" => "2",
"MAILTO=" => "2",
"MARGINHEIGHT=" => "2",
"MARGINWIDTH=" => "2",
"MAXLENGTH=" => "2",
"MEDIA=" => "2",
"METHOD=" => "2",
"MULTIPLE" => "2",
"NAME=" => "2",
"NOHREF" => "2",
"NORESIZE" => "2",
"NOSHADE" => "2",
"OBJECT=" => "2",
"ONBLUR=" => "2",
"ONCHANGE=" => "2",
"ONFOCUS=" => "2",
"ONKEYDOWN=" => "2",
"ONKEYPRESS=" => "2",
"ONKEYUP=" => "2",
"ONLOAD=" => "2",
"ONRESET=" => "2",
"ONSELECT=" => "2",
"ONSUBMIT=" => "2",
"ONUNLOAD=" => "2",
"ONCLICK=" => "2",
"ONDBLCLICK=" => "2",
"ONMOUSEDOWN=" => "2",
"ONMOUSEMOVE=" => "2",
"ONMOUSEOUT=" => "2",
"ONMOUSEOVER=" => "2",
"ONMOUSEUP=" => "2",
"PROFILE=" => "2",
"PROMPT=" => "2",
"READONLY" => "2",
"REL=" => "2",
"REV=" => "2",
"ROWS=" => "2",
"ROWSPAN=" => "2",
"RULES=" => "2",
"SCHEME=" => "2",
"SCOPE=" => "2",
"SCROLLING=" => "2",
"SELECTED" => "2",
"SHAPE=" => "2",
"SIZE=" => "2",
"SPAN=" => "2",
"SRC=" => "2",
"STANDBY=" => "2",
"START=" => "2",
"STYLE=" => "2",
"SUMMARY=" => "2",
"TABINDEX=" => "2",
"TARGET=" => "2",
"TEXT=" => "2",
"TITLE=" => "2",
"TOPMARGIN=" => "2",
"TYPE=" => "2",
"URL=" => "2",
"USEMAP=" => "2",
"VALIGN=" => "2",
"VALUE=" => "2",
"VALUETYPE=" => "2",
"VERSION=" => "2",
"VLINK=" => "2",
"VSPACE=" => "2",
"WIDTH=" => "2",
"**" => "3",
"$" => "3",
"@" => "3",
"$#" => "3",
"-A" => "4",
"-B" => "4",
"-C" => "4",
"-M" => "4",
"-O" => "4",
"-R" => "4",
"-S" => "4",
"-T" => "4",
"-W" => "4",
"-X" => "4",
"-b" => "4",
"-c" => "4",
"-d" => "4",
"-e" => "4",
"-f" => "4",
"-g" => "4",
"-k" => "4",
"-l" => "4",
"-o" => "4",
"-p" => "4",
"-r" => "4",
"-s" => "4",
"-t" => "4",
"-u" => "4",
"-w" => "4",
"-x" => "4",
"-z" => "4",
"__DATA__" => "4",
"__END__" => "4",
"__FILE__" => "4",
"__LINE__" => "4",
"continue" => "4",
"do" => "4",
"else" => "4",
"elsif" => "4",
"for" => "4",
"foreach" => "4",
"goto" => "4",
"if" => "4",
"last" => "4",
"local" => "4",
"my" => "4",
"next" => "4",
"no" => "4",
"package" => "4",
"redo" => "4",
"return" => "4",
"require" => "4",
"sub" => "4",
"until" => "4",
"unless" => "4",
"use" => "4",
"while" => "4",
"accept" => "5",
"alarm" => "5",
"atan2" => "5",
"bind" => "5",
"binmode" => "5",
"bless" => "5",
"caller" => "5",
"chdir" => "5",
"chmod" => "5",
"chomp" => "5",
"chop" => "5",
"chown" => "5",
"chr" => "5",
"chroot" => "5",
"close" => "5",
"closedir" => "5",
"connect" => "5",
"cos" => "5",
"crypt" => "5",
"dbmclose" => "5",
"dbmopen" => "5",
"defined" => "5",
"delete" => "5",
"die" => "5",
"dump" => "5",
"each" => "5",
"endgrent" => "5",
"endhostent" => "5",
"endnetent" => "5",
"endprotoent" => "5",
"endpwent" => "5",
"endservent" => "5",
"eof" => "5",
"eval" => "5",
"exec" => "5",
"exit" => "5",
"exp" => "5",
"exists" => "5",
"fcntl" => "5",
"fileno" => "5",
"flock" => "5",
"fork" => "5",
"formline" => "5",
"format" => "5",
"getc" => "5",
"getgrent" => "5",
"getgrgid" => "5",
"getgrname" => "5",
"gethostbyaddr" => "5",
"gethostbyname" => "5",
"gethostent" => "5",
"getlogin" => "5",
"getnetbyaddr" => "5",
"getnetbyname" => "5",
"getnetent" => "5",
"getpeername" => "5",
"getpgrp" => "5",
"getppid" => "5",
"getpriority" => "5",
"getprotobyname" => "5",
"getprotobynumber" => "5",
"getprotoent" => "5",
"getpwent" => "5",
"getpwnam" => "5",
"getpwuid" => "5",
"getservbyname" => "5",
"getservbyport" => "5",
"getservent" => "5",
"getsockname" => "5",
"getsockopt" => "5",
"glob" => "5",
"gmtime" => "5",
"grep" => "5",
"hex" => "5",
"index" => "5",
"int" => "5",
"ioctl" => "5",
"join" => "5",
"keys" => "5",
"kill" => "5",
"lc" => "5",
"lcfirst" => "5",
"length" => "5",
"link" => "5",
"listen" => "5",
"localtime" => "5",
"log" => "5",
"lstat" => "5",
"map" => "5",
"mkdir" => "5",
"msgctl" => "5",
"msgget" => "5",
"msgrcv" => "5",
"msgsnd" => "5",
"oct" => "5",
"open" => "5",
"opendir" => "5",
"ord" => "5",
"pack" => "5",
"pipe" => "5",
"pop" => "5",
"pos" => "5",
"print" => "5",
"printf" => "5",
"push" => "5",
"quotemeta" => "5",
"rand" => "5",
"read" => "5",
"readdir" => "5",
"readline" => "5",
"readlink" => "5",
"recv" => "5",
"ref" => "5",
"rename" => "5",
"reset" => "5",
"reverse" => "5",
"rewinddir" => "5",
"rindex" => "5",
"rmdir" => "5",
"scalar" => "5",
"seek" => "5",
"seekdir" => "5",
"select" => "5",
"semctl" => "5",
"semgett" => "5",
"semop" => "5",
"send" => "5",
"setgrent" => "5",
"sethostent" => "5",
"setnetent" => "5",
"setpgrp" => "5",
"setpriority" => "5",
"setprotoent" => "5",
"setpwent" => "5",
"setservent" => "5",
"setsockopt" => "5",
"shift" => "5",
"shmctl" => "5",
"shmget" => "5",
"shmread" => "5",
"shmwrite" => "5",
"shutdown" => "5",
"sin" => "5",
"sleep" => "5",
"socket" => "5",
"socketpair" => "5",
"sort" => "5",
"splice" => "5",
"split" => "5",
"sprintf" => "5",
"sqrt" => "5",
"srand" => "5",
"stat" => "5",
"study" => "5",
"substr" => "5",
"symlink" => "5",
"syscall" => "5",
"sysopen" => "5",
"sysread" => "5",
"system" => "5",
"syswrite" => "5",
"tell" => "5",
"telldir" => "5",
"tie" => "5",
"tied" => "5",
"time" => "5",
"times" => "5",
"truncate" => "5",
"uc" => "5",
"ucfirst" => "5",
"umask" => "5",
"undef" => "5",
"unlink" => "5",
"unpack" => "5",
"unshift" => "5",
"utime" => "5",
"values" => "5",
"vec" => "5",
"wait" => "5",
"waitpid" => "5",
"wantarray" => "5",
"warn" => "5",
"write" => "5",
"AUTOLOAD" => "6",
"BEGIN" => "6",
"CORE" => "6",
"DESTROY" => "6",
"eq" => "6",
"END" => "6",
"ge" => "6",
"gt" => "6",
"le" => "6",
"lt" => "6",
"ne" => "6",
"not" => "6",
"m" => "6",
"or" => "6",
"q" => "6",
"qq" => "6",
"qw" => "6",
"qx" => "6",
"SUPER" => "6",
"s" => "6",
"tr" => "6",
"UNIVERSAL" => "6",
"x" => "6",
"xor" => "6",
"y" => "6");
// Special extensions
// Each category can specify a PHP function that returns an altered
// version of the keyword.
$this->linkscripts = array(
"1" => "donothing",
"3" => "donothing",
"2" => "donothing",
"4" => "donothing",
"5" => "donothing",
"6" => "donothing");
}

+ Here is the call graph for this function:


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