Hi dan

> somebody has a really easy explanation of how to deal with HABTMs with
> extra fields...

If you need extra fields in the join table, then the standard solution 
in Cake is along these lines:


Table1 (hasMany JoinTable)

JoinTable (belongsTo Table1 and belongsTo Table2)

Table2 (hasMany Join Table)


So you need a model for each of the three tables, where as with a HABTM 
association you only need models for Table1 and Table2.

If you search this group you will find lots of information on this topic 
as it is a common problem.

Regards,
Langdon

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