Hello,

I'm not sure of how can I implement in cakephp a "Is-A" Relation or in
other words: Generalization/specialization

For example, let's say I want to represent different kinds of
accommodation such as hotels, appartments, bungalows,countryside
hotel, inns  and some others.


They would share common information like: town, email, phone
number,etc


If I had to do without cakephp, I would  use one "accomodation" table
with common information and a specilization field, from which i could
now what table inspect next in order to get the especific fields of
every kind.


But how can I do this in cakephp?, I mean, does scaffold and bake know
how to handle this automatically?


Thanks


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to