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

Martin Kutschker masi-no at spam-typo3.org
Wed Feb 10 13:25:39 CET 2010


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.

Masi


More information about the TYPO3-project-typo3v4mvc mailing list