yep, that's exactly what i was asking.
thanks a lot!
so easy that i missed that. :-)
On Jun 19, 12:55 pm, Grant Cox <[EMAIL PROTECTED]> wrote:
> Are you asking how you can have multiple assocations to the same
> foreign model? In that case just use unique association keys, ie:
>
> var $belongsTo = array(
> 'ModifiedUser' => array('className' => 'User',
> 'foreignKey'=>'muser'),
> 'CreatedUser' => array('className' => 'User', 'foreignKey'=>'cuser'),
> );
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---