That's exactly what i want! Thanks for tip, AD7six. Best regards.
On Sat, 15 Jul 2006 16:27:01 -0000 "AD7six" <[EMAIL PROTECTED]> wrote: > > Just a thought, this may be better. > > In terms of inheritance this is possibly close to what's required > > Model > App_model > OtherModels > ParentModel > ChildModel1 > ChildModel2 > ChildModel3 > > In the Parent Model, put any common attributes/methods not useful to > all models. > > 1) Put ParentModel in app, extending app_model, if necessary (probably > not) require once app_model. > 2) In child Model require_once the ParentModel, and then declare the > class > > Should then be able to use the models as 'normal'. > > Cheers, > > AD7six > > > > -- Gonçalo Marrafa <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~----------~----~----~----~------~----~------~--~---