[TYPO3-mvc] Viewhelper giving back objects

Henjo Hoeksma me at henjohoeksma.nl
Sat Nov 20 13:44:41 CET 2010


On 2010-11-20 12:58:21 +0100, Franz Koch said:

> Hey,
> 
>> I am trying to make a selection of objects using a viewhelper. I do this
>> to get the right objects displayed based on some getVars.
>> 
>> What is the way to have a viewhelper return the objects?
> 
> yepp - you have to assign them to the templateVariableContainer, then 
> render the children and after that remove your object/variable again 
> from the container. Just have a look at the for-viewHelper of Fluid how 
> to do it.

Hi Franz,

thanks I will dive in a little further then!

Henjo



More information about the TYPO3-project-typo3v4mvc mailing list