Set both associations with different aliases and different foreign
keys but same class (User).

On Sat, Jul 12, 2008 at 3:46 PM, Siebren Bakker
<[EMAIL PROTECTED]> wrote:
> I would like to set up a system for my users to be able to message each
> other, and know how I would do so, but am not sure on the database/cake part
> of things. I have a messages model, view, and controller, but am unsure how
> to set up the database, and model associations for this, as there is a user
> associated with the originating user as well as the receiving user, and the
> ids for both of those columns would be pulled from my users table.
>
> I was wondering if anyone had any experience with this sort of thing, or
> would be able to point me in the right direction to setting up a system
> similar to this.
> In the name of Life, Liberty, and the pursuit of my sanity.
> Siebren Bakker(Aevum Decessus)
> >
>

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