[TYPO3-mvc] fetch element from array based on object.property

Bastian Waidelich bastian at typo3.org
Thu Apr 15 01:42:45 CEST 2010


Martin Kutschker wrote:

Hi Masi,

> Does FLUID support assignments within the template?

TIAAVHFT (There is already a ViewHelper for this). It's called "alias":


> $temp = {object.property}
> {list.temp}

<f:alias map="{temp: object.property}">
...
</f:alias>

but it won't help in this case as "temp" in "{list.temp}" won't be 
replaced..

Bastian


More information about the TYPO3-project-typo3v4mvc mailing list