[TYPO3-mvc] Attributes on irre-relations possible?
Martin Kutschker
masi-no at spam-typo3.org
Sun Mar 21 20:12:45 CET 2010
Andreas Kießling schrieb:
> Or is there some other way / best-practice to fetch that data?
Wrong question in the DDD world. Think in objects not data :)
Anyway to answer your question: in my test/demo extension I have objects for the "relation" table.
The "parent" object has a property which holds these objects. They in turn have a property which
holds the "child" objects. If you don't declare these properties as @lazy ExtBase will load them all
at once.
Masi
More information about the TYPO3-project-typo3v4mvc
mailing list