On Aug 29, 2006, at 7:36 PM, Bret Kuhns wrote:
> > I've never done this before so I have no idea how cake itself would > handle it (if someone knows for sure, please chime in), but because > models are objects that extend the AppModel, you could create a > generic > model object that extends AppModel which provides the generic > structure > of your multiple database tables. Then you would create the individual > models per cake convention that extend your generic model object. You > would end up with a model for each table, but one change to your > generic model will affect all child models. That's a beautiful part of > object-oriented programming, so I hope it works! (I also imagine > you'll > need to explicitly include your generic object before the individual > models can extend from it) That's what AppModel is for. :o) -- John --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
