Re: Any examples of FB used with QuickFormController?
| From: | Justin Patrin | Date: | Tue, 28 Dec 2004 08:14:52 +0000 |
| Subject: | Re: Any examples of FB used with QuickFormController? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-16481@lists.php.net to get a copy of this message | ||
On Mon, 27 Dec 2004 23:38:57 -0800, Ken Restivo <ken@restivo.org> wrote:
> I'm in a situation where I might have to use FB with QuickFormController.
>
<disclaimer>I have never used QuickForm_Controller</disclaimer>
> Are there any examples of these two packages working together?
>
> If FB subclassed QF then I guess it'd be simple, but my understanding is the FB subclasses
> DBDO.
No. FB is a completely seperate package which uses both DO and QF. It
doesn't subclass anything.
>
> My naive assumption is that everywhere that QF Controller wants a QF, I instead replace it with
> an FB->getForm(). But because that's easy, I suspect that it won't work ;-).
If the controller expects a QF, thes this *should* work, but see my
disclaimer above.
>
> A simple example or two should be more than enough to get me started with it.
>
Have you used FB yet? Try getting it working, then get the controller
working, then try to combine them. ;-)
--
Justin Patrin