Define a $belongsTo = array('Foreign');
--
Вилен Тамбовцев
[EMAIL PROTECTED]



03.06.2008, в 4:19, Mee написал(а):

>
> Hello everyone!
>
>   I have a model with a foreign key, that links it to another model.
> Can you tell me how to make listbox with the field from another model,
> instead of it's id in current model?
>
> (i.e. user_name instead of user_id)
>
> thanks in advance,
> mee
>
> >


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