> You might also want to have a look at ExtendableBehavior or
> InheritableBehavior (check the Bakery)
ExtendableBehavior is good for when your "subclasses" do not require
extra attributes. This behavior simply utilizes a "type" attribute to
differentiate between "subclasses."
InheritableBehavior's Class Table inheritance option is similar to
what I was describing. However, I do strongly advise _against_ using
the behavior's Single Table inheritance option. In my opinion it is a
very bad design/solution for subclassing purposes.
--~--~---------~--~----~------------~-------~--~----~
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:
Post a Comment