On 5/11/07, kzm <[EMAIL PROTECTED]> wrote:
> i want to associate two models through a different field than 'id'. i
> also want to have this relationship defined in the model itself, of
> course.
>
"#foreignKey: the name of the foreign key that points to the associated model.

This is here in case you're working with a database that doesn't
follow Cake's naming conventions."

The above is a quote from somewhere very obvious - Figure out the
obvious place and you will get the answer :)


Cheers
Tarique

-- 
=============================================================
PHP for E-Biz: http://sanisoft.com
Cheesecake-Photoblog needs you!: http://cheesecake-photoblog.org
=============================================================

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