[TYPO3-mvc] IRRE intermediate tables
Michel Tremblay
michel.tremblay at infoglobe.ca
Tue May 5 14:43:38 CEST 2009
Jochen Rau a écrit :
> IRRE will be fully supported as of TYPO3 v4.3beta1.
>
> The naming conventions for mm tables are as follows: Let's assume you
> might want to join a table "tx_blogexample_domain_model_blog" holding
> Post object data (Tx_BlogExample_Domain_Model_Post) and a table
> "tx_blogexample_domain_model_tag" holding Tag object data
> (Tx_BlogExample_Domain_Model_Tag). The intermediate table name must be
> "tx_blogexample_post_tag_mm". It is "tx" followed by the extension name
> (not key!) in lowercase ("blogexample") followed by the last part of the
> left table ("post") followed by the last part of the right table ("tag")
> followed by "mm". The tables holding the ovject data are simply the
> class names in lowercase.
>
> Have a look at the BlogExample. It already works with IRRE.
The blog example use the "MM" field in TCA configuration. If you look at
the IRRE tutorial, you can also create an intermediate table (defined in
TCA file) without using the "mm" field. The intermediate table contains
2 "select" fields that IRRE use to link 2 tables. Is this going to be
supported as well?
Thanks,
Michel
More information about the TYPO3-project-typo3v4mvc
mailing list