[TYPO3-mvc] Fluid - is there a way to check if an object is the first or last object?

Bastian Waidelich bastian at typo3.org
Tue Jul 27 09:36:45 CEST 2010


Martin Kutschker wrote:

Hi Masi,

> My only nitpicks are the names of "iteration" (correct but not striking) and "cycle" (which I think
> to be a bit misleading as the loop won't restart at the beginning).

"iteration" should actually be "iterationData" or 
"iterationInformation". But I think it's OK to go for "iteration" here 
in favor of short argument names.

I was skeptical about "cycle" as well, but actually it's the correct 
word for it IMO. A for loop through all months of a year has 12 cycles 
(Durchläufe). Or what would you suggest?

Bastian


More information about the TYPO3-project-typo3v4mvc mailing list