PARSER Class Reference

List of all members.

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


Detailed Description

This is the parser class of Nucleus. It is used for various things (skin parsing, form generation, ...)

Definition at line 26 of file PARSER.php.


Member Function Documentation

PARSER::PARSER ( allowedActions,
&$  handler,
delim = '(<%|%>)',
pdelim = ',' 
)

Creates a new parser object with the given allowed actions and the given handler

Parameters:
$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.

References $delim, $handler, and $pdelim.

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  ) 


Member Data Documentation

PARSER::$actions

Definition at line 29 of file PARSER.php.

PARSER::$handler

Definition at line 32 of file PARSER.php.

Referenced by call_using_array(), and PARSER().

PARSER::$delim

Definition at line 35 of file PARSER.php.

Referenced by PARSER().

PARSER::$pdelim

Definition at line 38 of file PARSER.php.

Referenced by PARSER().

PARSER::$norestrictions

Definition at line 41 of file PARSER.php.


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



Generated on Wed Jun 25 17:26:03 2008 by  doxygen 1.5.5