[TYPO3-mvc] Fluid: Access to the original object passed as content of a viewHelper?
Martin Kutschker
masi-no at spam-typo3.org
Fri Jan 29 12:20:17 CET 2010
Franz Koch schrieb:
> And I also think that the __toString
> method should return the label - this feels most natural I think.
One challenge will be to get the right label. In the BE the case is clear, because the TCA dictates
the label.
But what to do in the FE? There is no standard way to get a label for a "select" value in the FE.
Just look in the plugins locallang file for <table>.<column>.|.<value>? Use the TCA as a fallback?
Masi
More information about the TYPO3-project-typo3v4mvc
mailing list