[TYPO3-mvc] FLUID :: how can you access properties of m:n related objects?

Roland most.wanted at gmx.at
Thu Nov 3 12:01:16 CET 2011


> If I understood correctly, the Zulassungen are related to the Procukt,
> correct?
>
> In that case it would be possible to retrieve it like this in your
> showAction:
>
> $firstZulassung = $product->getZulassungen()->getFirst();

this looks promising, but i need it in the listAction.


More information about the TYPO3-project-typo3v4mvc mailing list