[TYPO3-mvc] IRRE foreign_selector ("associative entity")

Martin Kutschker masi-no at spam-typo3.org
Fri Dec 25 12:34:11 CET 2009


Hi!

Are inline records with a "foreign_selector" (and no "MM") are supported by ExtBase? If I'm not
mistaken this would be "associative entities".

I want to store (recording of) songs and CDs. A recording and a CD are entities. As I want to store
the track number of a recording on a CD, the number must be stored in the relation. So with IRRE I
would use a "real" TCA table for the relation with two select fields and a field for the track number.

But what to to now with ExtBase? The associative entity has to be persisted, but doesn't need to be
shown or manipulated on its own. I won't need a controller/view for it. But how to add this entities
to the models of recoding and CD without a further MM table?

Masi

[1] http://en.wikipedia.org/wiki/Associative_Entities


More information about the TYPO3-project-typo3v4mvc mailing list