Re: HTML_QuickForm | Renderers | Smarty
| From: | Thomas Schulz | Date: | Fri, 27 Jun 2003 18:25:56 +0000 |
| Subject: | Re: HTML_QuickForm | Renderers | Smarty | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-17800@lists.php.net to get a copy of this message | ||
Matthias H. Risse wrote in php.pear.dev:
> Whats holding me personally back to use QuickForm for projects which
> are going to move to production-state is, that i dont really understand
> how the _3_ different renderers for the Smarty template engine
> (probably/hopefully available as PEAR package soonish) work.
>
> Which render I need for which purpose and more important: How to make
> even them work?
There is only one Smarty specific renderer called ArraySmarty. But you
can also can use the Array Renderer.
> If anyone would be able to provide some code-snips to me and the
> public I, and probably lotsa other QuickForm-newbies around the world,
> would be pretty thankful.
Have a look at the examples in PEAR/docs/HTML_QuickForm/docs/renderers.
There is an example called SmartyStatic_example.php using the
ArraySmarty-Renderer and an other called SmartyDynamic_example.php using
the Array-Renderer.
ThS.
--
http://4bconsult.de