On Sep 10, 8:03 am, AD7six <[EMAIL PROTECTED]> wrote:
> On Sep 10, 3:34 am, lemon <[EMAIL PROTECTED]> wrote:
>
> > Hi everybody :)
>
> >    Well first I want to say, that I've already searched answers to my
> > question in this group, and in google, but without results :(
>
> >   My question is: It's possible to associate three different models
> > with HABTM association in join table who have three fields?
>
> a 3 way habtm is a model in it's own right usually. Treat it as such
>  and you'll make some progress.

Know what, it's a bad idea to write before having your first coffee in
the morning.

That noddy example should have said:

(stuff, thing and wotsit hasMany Glue, Glue belongsTo stuff, thing and
wotsit)

i.e.

Table glues
  id
  stuff_id
  thing_id
  wotsit_id

hth,

AD


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to