Re: Reusable form elements with DB_Table and HTML_Quickforms
| From: | Mark Wiesemann | Date: | Wed, 18 Oct 2006 16:16:04 +0000 |
| Subject: | Re: Reusable form elements with DB_Table and HTML_Quickforms | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.general php.pear.general |
| Request: | Send a blank email to pear-general+get-25523@lists.php.net to get a copy of this message | ||
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.
> 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