Hi rik,

I think what you're looking for is the use of the 'with' association.

Relevant thread:
http://groups.google.com/group/cake-php/browse_thread/thread/c50c31ca3549713c/804842a5f6216abe

There's some comment talk here that's relevant but the general article
is outdated, 'with' is in 1.2 and is working fine.
http://www.thinkingphp.org/2006/10/26/modeling-relationships-in-cakephp-faking-rails-throughassociation/

Basically you need to create a new model that defines the joining
table then add 'with'=>'JoinModelName' for your relationship and you
should then get the relationship table data.

You may have a compelling reason but you would be able to simplify
your current models sustaintially if you follow convention for table
names and relationship field names.

--
Travis


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