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