Re: [Quickform controller] Override the display ??
| From: | Alexey Borzov | Date: | Thu, 09 Dec 2004 15:25:23 +0000 |
| Subject: | Re: [Quickform controller] Override the display ?? | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-16148@lists.php.net to get a copy of this message | ||
Hi,
Marc van Duivenvoorde wrote:
Ok, stupid me, I missed the edit you made. Now the big question is, how do I use it. In my firstForm object ( which does print the form, only not through my own display extension but through the default in the controller->run() function I guess) I made this ..I still suggest looking at the examples. They are installed in docs/HTML_QuickForm_Controller/examples/ directory under your PEAR installation. In short: you should add your custom class via addAction() to either controller or the form.$content = new displayForm($this);doesn't seem to be working, I know I'm probably missing something, but it's the first time using the controller and I'm a little lost.