Proper usage of extending HTML_QuickForm
| From: | Birgir Stefansson | Date: | Thu, 11 Dec 2003 09:07:36 +0000 |
| Subject: | Proper usage of extending HTML_QuickForm | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-9471@lists.php.net to get a copy of this message | ||
I'm wondering what is the proper way of extending HTML_QuickForm when I
have to instance the form with a certain language variable I have to
instance the form with. I don't want to overwrite the parameters given
to the constructor but am wondering how I should do this.
$form = new TestForm($lang = 'is');
What is the proper way of doing this or passing variables to a form
extending HTML_QuickForm ?
Regards,
Birgir