Friday, October 31, 2008

How to manage HABTM that is reflexive?

I have a table of users, and I want to make links between users, so
each user can have links to one or more other users. I can't see,
however, how to set this up in Cake. The linking table has two fields
that link to the Users table, but how to I create the correct model?

--~--~---------~--~----~------------~-------~--~----~
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 cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: