I have a vendors table with a few common properties shared between commercial_vendors and organizational_vendors. Any given vendor can be either a commercial vendor _or_ an organizational vendor, but not both. Is it correct to associate my models such that:
commercial_vendor belongsTo vendor organizational_vendor belongsTo vendor Is that sufficient? Will scaffolding pick that up? The whole context of what I'm trying to do is this: Share some vendor data including an address pulled from a separate table that is associated with the vendors table (vendor hasOne address). I want to be able to query on commercial or organizational vendors and pull all shared data as well. I'm looking for any insight on how best to associate my models to make this happen. Thanks. Rob --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
