For retrieval, this is easy: just add the extra columns to the join
table; you can optionally create a model file for the join if you need
to. Do a debug() on the fetched data array and you'll see all the
extra fields in there.

It's putting the extra data in there easily that's more complicated -
the normal form helper / model __saveMulti() combo don't play nicely
with extra fields, afaik.

On Apr 30, 1:23 pm, tgies <[EMAIL PROTECTED]> wrote:
> foo HABTM bar, but I also need to store some specific information
> about that association -- say, a user HABTM groups, but each user also
> has a role within that group and a date of joining that group which I
> need to store in the foos_bars table. How do I get CakePHP to clue
> into this and pull out that information from the foos_bars table?
--~--~---------~--~----~------------~-------~--~----~
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