Hi, I'm using a HABTM relationship between two tables (Cities and Categories, a city could have multiple categories and the a category can belong to multiple cities), but I need to be able to indicate of the relationship between the two tables is currently active. Therefor I've added a column in the link_table (categories_cities) that keeps the status of the active link. The main idea is that this way for a certain City I can disable the specific category so it doens't show up on the site.
Is there any way to accomplish this using the HABTM method, or should I consider the link_table as a serperate model and use Has Many and Belongs to relationships? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
