[TYPO3-mvc] m:n and n:m relations

Ulrich Fischer ulrich-fischer at gmx.net
Sun Dec 18 08:09:44 CET 2011


Hi,

an extension contains companies and subcompanies.
The relation is a m:n relation.

The company model contains the relation to the
connected subcompanies and the subcompany model
contains the relation to the connected companies.

How ca I tell the second relation, that it is
from foreign_uid to local_uid (n:m)?

TCA seems to be a good place for that, but I cannot
figure it out, how to do.

Any advice is welcome. Thanks and best regards

Ulrich

PS: Extension builder does it this way
with two connection tables and it is
a working workaround in the moment:
tx_myextension_company_subcompany_mm
tx_myextension_subcompany_company_mm

-- 
http://www.sunfish.de


More information about the TYPO3-project-typo3v4mvc mailing list