It sounds plausible to me. You might want to create a Zend_Controller_Plugin
to do it, I'm not sure. Anyone else any ideas?

On Wed, Apr 9, 2008 at 6:21 AM, photo312 <[EMAIL PROTECTED]> wrote:

>
> I would like to "turn on" controllers dynamically depending on the user
> logged in...so if the user type logged-in is "client" than it would load:
>
> $controller->setControllerDirectory(array(
>      'default'         => '../application/client/controllers'
> ));
>
> this way I can have my modules in different directories and only use the
> controllers that are residing in the directory that suits the user type.
>
>
>
>
>
> photo312 wrote:
> >
> > I have 4 different user groups and each user group will get different
> > functionality and looks. So I have decided to divide it up into modules
> > with separate front controllers each.
> >
> > Can you please tell me if this modular directory structure would work
> well
> > in Zend Framework:
> >
> > ----library/
> > -----------Zend/
> > ----config/
> > ----public/
> > -----------index.php
> > ----application/
> > -----------default/
> > -----------------controllers/
> > -----------------models/
> > -----------------views/
> > -----------------------scripts/
> > -----------------------helpers/
> > -----------------------filters/
> > ------------client/
> > ------------------controllers/
> > ------------------models/
> > ------------------views
> > -------------------...just like above
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Creating-a-Modular-Dir-Structure-tp16578887p16579738.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>

Reply via email to