one more thing here, how can I save this additional data into the
relation table?

On 4 июл, 12:14, XuMiX <[EMAIL PROTECTED]> wrote:
> thx, i'll have a try
>
> On 2 июл, 23:23, James K <[EMAIL PROTECTED]> wrote:
>
>
>
> > 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 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to