Re: Re: Reusable form elements with DB_Table and HTML_Quickforms
| From: | Justin Patrin | Date: | Wed, 18 Oct 2006 17:32:44 +0000 |
| Subject: | Re: Re: Reusable form elements with DB_Table and HTML_Quickforms | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-25524@lists.php.net to get a copy of this message | ||
On 10/18/06, Mark Wiesemann <wiesemann@php.net> wrote:
Matthew Vickery wrote: I had to define my elements in the pool as: static $personal_details = array ( ... and not: var $personal_details = array ( ... With PHP 4 you need the latter, PHP 5 should accept both but may complain (E_STRICT?) about the latter.Newer versions of PHP5 no longer throw E_STRICT on a var declaration (at least IIRC).
I'm trying to do this by pulling the following together: mod_rewrite DB_Table HTML_Quickforms Smarty template engine PHPmailer 2, 3 and 4 are already together (DB_Table generates a form with QF, and QF can use Smarty as the renderer), the other two are very different. I'm not sure if it makes sense to provide a package that has support for all of these things. But there are some frameworks out there, maybe one has support for things like this (but then likely with some other components and without some of the components you listed). Regards, Mark -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php-- Justin Patrin