Re: Re: Quickform Controller

From: Date: Tue, 14 Mar 2006 19:56:30 +0000
Subject: Re: Re: Quickform Controller
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-23298@lists.php.net to get a copy of this message
Mark, Thank you so much. Worked like a charm . . . . -Tim >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 > > --------------------------------------- * Timothy Marsolais * * http://www.Technology-Works.Net * * 916.996.6542 * * Build Projects that Matter * ---------------------------------------

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