Please provide a little more detail. I'm not following totally because
when you say the two models are not directly associated, but one has
the id of the other, that's a contradiction. When a table has a
foreign key, it's directly related to that other table. Just make sure
you define that relation in the model. Then you can set the recursive
level when executing a find(), and the name field of the related table
will get returned.

NOSLOW


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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