Make a model FacetsReviewsTags, for the join table Review hasMany FacetsReviewsTags Facet hasMany FacetsReviewsTags Tag hasMany FacetsReviewsTags
FacetsReviewsTags belongsTo Review, Facet, Tag The FacetsReviewsTags model should have a beforeSave to check for existing join rows. The only tricky thing is managing these associations. You could always have a FacetsReviewsTags controller / views, but I guess that all depends on how these joins need to be created / destroyed. On Oct 26, 8:23 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, I've read through the cake php manual and searched through the > cake bakery site but have not found out how to do the following model: > > Reviews table > (1) > | > | > (*) > FacetsReviewsTags (*)----------- (1)Tags table > (*) > | > | > (1) > Facets table > > sorry for the appalling ascii art > > I don't want to resolve the FacetsReviewsTags into independant tables > as I need to maintain the distinct relationship between the three > entities > > How have other people approached this in cake? > > thanks in advance > Lee C --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---