CakePHP has no problem reading extra fields in your join table. As
long as you're naming your join table correctly and have a
hasAndBelongsToMany relationship to the model on the other side of the
join table, it'll pull the extra fields from a find automatically.

On Jul 2, 5:35 am, XuMiX <[EMAIL PROTECTED]> wrote:
> i have a habtm relation, persons, groups, and a relation table
> groups_persons
> i need to add some more info into the relation table, for instance
> year of presence, role, etc.
> how do i get that info within cake ? Or how do i organize my tables
> and models?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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