[TYPO3-mvc] Fluid - using an array in condition?

Felix Oertel mehl at foertel.com
Tue May 11 22:44:57 CEST 2010


Am 11.05.10 21:40, schrieb Martin Kutschker:
> Usually I stumble across it when the generated source has to match some external resources.

I see ...

I use an enumerator-viewHelper for that ... inside the f:foreach I use

<f:enumerator as="varName">

possible arguments are "step" to increase the increment (default 1) and 
"offset" to start with another number (default 0)

propably some other arguments would make sense as well. and propably 
this would be a good thing for the fluidCore, as you could use this 
regardless of indicies and array-formats completely without an array ;)

regards, foertel


More information about the TYPO3-project-typo3v4mvc mailing list