Public Member Functions | |
PARSER ($allowedActions, &$handler, $delim= '(<%|%>)', $pdelim= ',') | |
parse (&$contents) | |
doAction ($action) | |
call_using_array ($methodname, &$handler, $paramarray) | |
setProperty ($property, $value) | |
getProperty ($name) | |
Public Attributes | |
$actions | |
$handler | |
$delim | |
$pdelim | |
$norestrictions |
Definition at line 26 of file PARSER.php.
PARSER::PARSER | ( | $ | allowedActions, | |
&$ | handler, | |||
$ | delim = '(<%|%>)' , |
|||
$ | pdelim = ',' | |||
) |
Creates a new parser object with the given allowed actions and the given handler
$allowedActions | array | |
$handler | class object with functions for each action (reference) | |
$delim | optional delimiter | |
$paramdelim | optional parameterdelimiter |
Definition at line 52 of file PARSER.php.
PARSER::parse | ( | &$ | contents | ) |
Parses the given contents and outputs it
Definition at line 63 of file PARSER.php.
References doAction().
PARSER::doAction | ( | $ | action | ) |
handle an action
Definition at line 81 of file PARSER.php.
References $action, and $manager.
Referenced by parse().
PARSER::call_using_array | ( | $ | methodname, | |
&$ | handler, | |||
$ | paramarray | |||
) |
Calls a method using an array of parameters (for use with PHP versions lower than 4.0.5) ( = call_user_func_array() function )
Definition at line 129 of file PARSER.php.
References $handler.
PARSER::setProperty | ( | $ | property, | |
$ | value | |||
) |
Definition at line 144 of file PARSER.php.
References $manager.
Referenced by ACTIONS::doForm(), SKIN::parse(), BaseActions::parse_set(), and parseFile().
PARSER::getProperty | ( | $ | name | ) |
Definition at line 149 of file PARSER.php.
References $manager.
Referenced by ACTIONS::doForm(), BaseActions::getIncludeFileName(), ACTIONS::parse_nucleusbutton(), and BaseActions::parse_skinfile().
PARSER::$actions |
Definition at line 29 of file PARSER.php.
PARSER::$handler |
PARSER::$delim |
PARSER::$pdelim |
PARSER::$norestrictions |
Definition at line 41 of file PARSER.php.