Re: [ANNOUNCEMENT] HTML_QuickForm_Renderer_Tableless-0.3.0 (alpha) Released.
| From: | Mark Wiesemann | Date: | Tue, 11 Jul 2006 19:42:41 +0000 |
| Subject: | Re: [ANNOUNCEMENT] HTML_QuickForm_Renderer_Tableless-0.3.0 (alpha) Released. | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-43380@lists.php.net to get a copy of this message | ||
Alexey Borzov wrote:
> PEAR Announce wrote:
>> $GLOBALS['_HTML_QuickForm_default_renderer'] =& $renderer;
>
> Please do not promote such hacks in package description, show the correct usage
> of accept() instead.
If you consider this as a hack, why does QF offer this possibility? I
really like it this way, because it saves one line of code and it allows
to use $form->display() with this renderer.
(I'm willing to change it, but I'd like to know why it's offered if one
should not use it.)
Regards,
Mark