[TYPO3-mvc] DataMapper: relations with custom constraint?
Sebastian Kurfürst
sebastian at typo3.org
Thu Jan 28 11:06:02 CET 2010
Hi,
depending on your use-case a custom VIewHelper can make sense as well,
which will receive the Product, object and outputs the price. This might
be especially helpful if a price can be in different currencies, and to
me {product -> my:price()} seems to be quite natural also.
(This is not "better" than the getter, just different ;-) )
Greets,
Sebastian
More information about the TYPO3-project-typo3v4mvc
mailing list