ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
HFile_bash Class Reference
+ Inheritance diagram for HFile_bash:
+ Collaboration diagram for HFile_bash:

Public Member Functions

 HFile_bash ()
 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_bash.php.

Member Function Documentation

HFile_bash::donothing (   $keywordin)

Definition at line 169 of file HFile_bash.php.

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

Definition at line 6 of file HFile_bash.php.

References HFile\HFile().

{
$this->HFile();
/*************************************/
// Beautifier Highlighting Configuration File
// Bash
/*************************************/
// 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(
"'" => "1",
"{" => "1",
"}" => "1",
"&&" => "1",
"||" => "1",
"$" => "1",
"alias" => "1",
"break" => "1",
"case" => "1",
"continue" => "1",
"do" => "1",
"done" => "1",
"elif" => "1",
"else" => "1",
"esac" => "1",
"exit" => "1",
"export" => "1",
"fi" => "1",
"for" => "1",
"if" => "1",
"in" => "1",
"return" => "1",
"set" => "1",
"then" => "1",
"unalias" => "1",
"unset" => "1",
"while" => "1",
"halt" => "2",
"ifconfig" => "2",
"init" => "2",
"initlog" => "2",
"insmod" => "2",
"linuxconf" => "2",
"lsmod" => "2",
"modprobe" => "2",
"reboot" => "2",
"rmmod" => "2",
"route" => "2",
"shutdown" => "2",
"traceroute" => "2",
"]" => "3",
"[" => "3",
"awk" => "3",
"basename" => "3",
"cat" => "3",
"cp" => "3",
"echo" => "3",
"egrep" => "3",
"fgrep" => "3",
"gawk" => "3",
"grep" => "3",
"gzip" => "3",
"kill" => "3",
"killall" => "3",
"less" => "3",
"md" => "3",
"mkdir" => "3",
"mv" => "3",
"nice" => "3",
"pidof" => "3",
"ps" => "3",
"rd" => "3",
"read" => "3",
"rm" => "3",
"rmdir" => "3",
"sed" => "3",
"sleep" => "3",
"test" => "3",
"touch" => "3",
"ulimit" => "3",
"uname" => "3",
"usleep" => "3",
"zcat" => "3",
"zless" => "3",
"`" => "4",
"-a" => "4",
"-b" => "4",
"-c" => "4",
"-d" => "4",
"-e" => "4",
"-f" => "4",
"-g" => "4",
"-h" => "4",
"-i" => "4",
"-j" => "4",
"-k" => "4",
"-l" => "4",
"-m" => "4",
"-n" => "4",
"-o" => "4",
"-p" => "4",
"-q" => "4",
"-r" => "4",
"-s" => "4",
"-t" => "4",
"-u" => "4",
"-v" => "4",
"-w" => "4",
"-x" => "4",
"-z" => "4",
"-eq" => "5",
"-ge" => "5",
"-gt" => "5",
"-le" => "5",
"-lt" => "5",
"=" => "5",
"!=" => "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: