Re: Re: Quickform Controller

From: Date: Tue, 14 Mar 2006 07:06:47 +0000
Subject: Re: Re: Quickform Controller
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-23286@lists.php.net to get a copy of this message
Timothy Marsolais wrote:
$wizard->addAction('display', new ActionDisplay());
You can write your own Display class here, and output your page here (see below).
$memPage = new SitePage(); $memPage->setTitle($title); $memPage->setContent($content); $memPage->DisplayHeader(); $memPage->DisplayContentBegin();
Use outpout buffering here. In your Display class do something like: echo ob_get_contents(); ob_end_clean(); parent::Display(); And before any output (i.e. before $memPage calls): ob_start(); HTH, Mark

« previous php.pear.general (#23286) next »