= $this->_pageTitle() ?>
_setUp();
$this->_welcomePage();
$this->_setDown(0);
}
else if (in_array("step$step", $this->steps))
{
$this->_setUp();
$this->{"step$step"}();
$this->_setDown($step);
}
else
{
throw new Exception("step$step() does not exist in this module");
}
}
/**
* Prints out the footer part of the page, and the appropriate forwarding
* action button
*
* @param integer Step number
*/
protected function _setDown($step)
{
// this is the last step, print the final button
if ($step == sizeof($this->steps))
{
echo '' . $this->_finalLink() . '
';
}
// just another step
else
{
echo '';
}
echo '
';
}
}
?>