[TYPO3-mvc] How to return a filtered subset of child objects?
Martin Kutschker
masi-no at spam-typo3.org
Sat Feb 13 18:39:57 CET 2010
Thomas "Thasmo" Deinhamer schrieb:
>
> There's a category, holding products. The category model has the
> getter 'getProducts' which returns all assigned products.
I wouldn't want to write it that way. Each product should have a property "category", but I don't
think the reverse should be true. As Sebastian said, add a method to the repository to get products
filtered by the category.
Masi
More information about the TYPO3-project-typo3v4mvc
mailing list