HTML_QuickForm2_Renderer: ArrayAccess
| From: | Christian Weiske | Date: | Mon, 03 May 2010 20:38:58 +0000 |
| Subject: | HTML_QuickForm2_Renderer: ArrayAccess | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-30489@lists.php.net to get a copy of this message | ||
Hello,
Using my own renderer, I wanted to implement ArrayAccess to get easy
access to elements by IDs (see my last mail,
"HTML_QuickForm2_Renderer_Array: Element IDs as array key?") in my
templates.
Unfortunately, the rendering proxy tunnels every method calls and thus
prevents usage of ArrayAccess which gets not tunneled. Does someone
know how I could get array access working despite the proxy?
I cannot instantiate my renderer without the factory since I want to
use renderer plugins.
--
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