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

Martin Kutschker masi-no at spam-typo3.org
Wed Feb 10 17:32:11 CET 2010


Franz Koch schrieb:
> Hey Masi,
> 
>> 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.
> 
> Nice idea, but as Steffen already mentioned, that would pre-render all
> cases which is not good performance wise.

I know and it could even have side effects, if you have tags like cycle that have state.

Masi


More information about the TYPO3-project-typo3v4mvc mailing list