[FLOW3-general] Finding inherited objects in a repository
Peter Beernink
p.beernink at drecomm.nl
Sun Feb 6 21:15:30 CET 2011
Hi Thomas,
Thanks for your quick response.
On Sun, 2011-02-06 at 20:53 +0100, Thomas "Thasmo" Deinhamer wrote:
> Not sure about FLOW3, but in the backport for TYPO3 - Extbase - you
> can of course use a "MediaRepository" to fetch _all_ types of media
> objects; the repository would then return a _mixed_ set of objects.
Are you sure about that?
I haven't tried it yet in Extbase, but there it would mean that the
repository should lookup models in different tables all at once.
For as far as I have seen, that does not happen in Extbase.
Just to make it a bit more clear. My model looks a bit like this
(warning, ASCII art ahead):
+----------------+
| Media |
+----------------+
|title |
|publicationYear |
+----------------+
________^_______
| |
+----------+ +---------+
| Movie | | Book |
+----------+ +---------+
|runtime | | pages |
|actors | | author |
+----------+ +---------+
More information about the FLOW3-general
mailing list