[TYPO3-mvc] How can I access arguments of childnodes from within my viewHelper

Steffen Ritter info at rs-websystems.de
Wed Feb 10 13:35:43 CET 2010


Martin Kutschker schrieb:
> Franz Koch schrieb:
>> Any idea how I could access the arguments of the child viewHelpers?
> 
> Iterate over the children and call a special method. If this one cannot get the arguments then
> simply call render(). The children's render() method will return an array (or an object) containing
> both the content and the arguments. Now the patent can decide which content to use.
But then you render all sub-elemets whicht might took very long...
But the "subNodes" are private instead of protected in the 
abstraceViewhelper, thats sad :(
> 
> Masi


More information about the TYPO3-project-typo3v4mvc mailing list