On 12 abr, 12:38, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> hi there
>
> and thnks for the reply
>
> well what I want to achieve is what I wrote earlier :
Hint: If someone asks a question which you think you already answered
- reconsider ;).
> core functionnalities (models controllers views components helpers
> (possibly plugins)) contained in a Parent App
>
> Many Child Apps inheriting from their parent (I can achieve this with
> loading the files from this parent in the child bootstrap.php file),
> and optionnaly adding their own functionnalities which can either be
> specific or just override the main ones.
>
> example :
>
> I have a user management system in my main app (authentication and
> permissions), my child app inherits from this (calling users/login
> calls it from the main app), if I want a specific user controller I
> set it up in my child app and it is the one used by this app (or a
> specific login.thtml or User Model)
Why would you want to do that.
> at the moment I can do just this with the bootstrap method but I can't
> seem to be able to inherit functionnalities from a 'main'
> AppController and also I don't know how to inherit from plugins that
> are in my mainApp/plugins folder
A real example of what you want to *achieve* would help others (me)
know what you really mean.
> as I said I tried it the other way around (having the child app
> actually be the main app) but then I didn't know how to override
> functionnalities.
Are you wanting to have a base 'library' app to use as the foundation
for numerous unrelated project applications? if so making use of
symlinks might allow you to do what you want. If not: 3rd time
lucky ;)
Cheers,
AD
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---