Changing $data of HTML_QuickForm2_Node objects after construction
| From: | Christian Weiske | Date: | Wed, 28 Jul 2010 05:00:26 +0000 |
| Subject: | Changing $data of HTML_QuickForm2_Node objects after construction | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-30667@lists.php.net to get a copy of this message | ||
Hello all,
The HTML_QuickForm2_Node class has a $data class variable that may be
filled with various settings that are passed to the constructor.
My problem now is that my captcha element stores some configuration
settings there, i.e. the text when the captcha is already solved.
Node.php contains a getData() method, but no way to change the data
after construction.
Is that intended? Should I not use $data for element configuration?
--
Regards/Mit freundlichen Grüßen
Christian Weiske
-=≡ Geeking around in the name of science since 1982 ≡=-
Attachment: [application/pgp-signature] signature.asc
Attachment: [application/pgp-signature] signature.asc