[TYPO3-mvc] TCA type "inline" - again

Martin Kutschker masi-no at spam-typo3.org
Sat Jan 2 11:56:14 CET 2010


Martin Kutschker schrieb:
> 
> An alternative approach would be to have a $recordings property in the CD model. If it is declared
> as Tx_Extbase_Persistence_ObjectStorage<Tx_Recording> then the data mapper can tread the table
> "track" as it were an ordinary MM-table. The drawback of this approach is that you loose all
> attributes of the Track objects. So I would think of it as a kind of "second class" property.

Doesn't work because now I will have to add a "recordings" field in the TCA as well. But then I will
end up with two TCA fields for the same relation. This is not correct.

Masi


More information about the TYPO3-project-typo3v4mvc mailing list