class Parser

The object parser is created by index.php and available in the global variable $p

Constructor

function Parser($comp_n = NULL)

$comp_n: Filename of the called component relative to the cache path

The constructor takes care that the autohander.comp will be processed. Parser is normally created by index.php.

callNext

function callNext()

Return Value: Result of the evaluation of the next component

This function is should only be used in components to switch over to the next component
<html>
<head>
<title>Example Autohandler</title>
</head>
<body>
<& $p->callNext() &>
</body>
</html>

call

function call($comp_n)

$comp_n: Filename of the called component relative to the cache path

Return Value: Result of the evaluation of the next component

Note the by using call no autohandler will be called.
todo example

start

function start()
This function is called by index.php to start processing of the component hierachically.

fetchComp

function fetchComp($comp_n)

$comp_n: Filename of the called component relative to the cache path

Return Value: Returns the component object given by $comp_n

todo example

$self

$self points to the last component of the hierarchy, the component called from outside. $self is normally used to call method
see Gween Concept

$parent

$parent points to the second last component of the hierarchy.

$thisComp

$thisComp points to the currently prcess component.
Last modified: Sat Jun 1 21:21:03 CEST 2002