Re: Can HTML_Quickform_Controller be used with DB_Table as HTML_Quickform can?
| From: | Mark Wiesemann | Date: | Tue, 24 Oct 2006 17:09:14 +0000 |
| Subject: | Re: Can HTML_Quickform_Controller be used with DB_Table as HTML_Quickform can? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-25602@lists.php.net to get a copy of this message | ||
Hi Matthew,
Matthew Vickery wrote:
> Is it possible to use HTML_Quickform_Controller with DB_Table?
DB_Table is intended to generate a form for a single table, while QFC
most times is used to fill more tables.
Arnaud showed you an idea how to use DB_Table with QFC, but you have to
do many things manually or at least with more code than by using
DB_Table and QuickForm.
MDB2_Table, the successor of DB_Table, might get support for
HTML_QuickForm2_Controller as the new package will support multiple
tables. But that's nothing to be expected in 2006 (and I doubt that
there will be QF2_Controller package before 2007).
> If yes, will someone point me in the direction of a good tutorial, please?
There is none that I would know.
> Also should I be looking at DB_DataObject and FormBuilder as successors
> to DB_Table...?
I doubt that FB has support for QFC, but have not verified this.
Regards,
Mark