I am wondering the proper cake-ified way of doing this. I have "layers" and they're related to other layers and also a thing called a "relationship". So here's the layer table (simplified):
Layers ===== id name Relationships ============ id name Now I need to define how two layers relate to one another like this: layer1 layer2 relationship My gut instinct is to make a table that looks like this: Layerrules ======== layer1_id layer2_id relationship_id But I'm not sure what I'd put in my model for Layerrule for having that relationship to two of the same thing. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
