Re: Example of OOH Form's Layoutmanager
| From: | Ulf Wendel | Date: | Mon, 22 Oct 2001 09:55:44 +0000 |
| Subject: | Re: Example of OOH Form's Layoutmanager | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-412@lists.php.net to get a copy of this message | ||
gus wrote:
> I browsed through the classes and didn't discover any point where to use a form
> with a layout manager - maybe I can't see the wood for trees.
Try these ones:
http://cvs.php.net/cvs.php/pear/HTML_OOH_Form/examples/pages
http://cvs.php.net/co.php/pear/HTML_OOH_Form/examples/pages/form_page_adress.php?r=1.1
[...]
You'll have to change the include statements as my development machine
and the CVS have a totally different directory structure :(. Uncomment
the last two lines:
$p = new form_page_adress(new form_adress());
print $html = $p->get(true);
As you're asking for the layout manager stuff, look at the
implementation of the method get(), check the layout manager baseclass
and you'll get it; it's quite simple.
It takes some more effort to set up the wizard example:
http://cvs.php.net/co.php/pear/HTML_OOH_Form/examples/wizard/form_wizard_simple.php?r=1.1
If you want out-of-the-box example please be patient and wait a few more
days, I'm currently restructuring my development machine.
Ulf
--
NetUSE AG Dr.-Hell-Straße Fon: +49 431 386 436 00
http://www.netuse.de/ D-24107 Kiel Fax: +49 431 386 435 99