To have more than just the two foreign ids, then you need a join model
in the middle.  There was word that the HABTM relationship will be
extended to allow this to be through a model, but I don't think this
is implemented yet.  In the meantime, you need to make the middle
model and associate it yourself - ie:

Profile hasMany EventProfile
Event hasMany EventProfile
EventProfile belongsTo Profile,Event

this EventProfile will be a new model, which uses your join table, and
can have whatever additional data it likes.  You will then need to
manage creating/removing these joins in your application yourself.


--~--~---------~--~----~------------~-------~--~----~
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