[TYPO3-mvc] FLUID: extended loop features

Martin Kutschker masi-no at spam-typo3.org
Thu Jan 7 12:51:06 CET 2010


Franz Koch schrieb:
> Btw. in
> bed I came up with the idea of a "switch/case" viewHelper that might
> come handy now and then (might give it a try to myself).

Ha! Had that idea a long time ago ;)

Actually there are two things of interest: a "switch" where a value is to be checked if it is the
"case" that it has a certain value. And a "ifelse" like construct that allows various conditions to
be checked without the need of nesting "if" blocks.

Masi


More information about the TYPO3-project-typo3v4mvc mailing list