Hi

Great! Thank you very much for the suggestion.

Cheers,
holo

2009/6/24 Matthew Weier O'Phinney <[email protected]>

> -- holografix . <[email protected]> wrote
> (on Wednesday, 24 June 2009, 03:02 PM +0100):
> > I'm looking at the docs but can t find anything.
> > I would like to know if it's possible to get the module/controller/action
> that
> > called some action.
> >
> > Say, when action 'list' inside 'user' controller is fired, can we know
> from
> > where it was called ?
>
> We don't have any tracking of that internally at this time. You could
> easily build up an action helper that tracks that info, however --
> simply do a preDispatch() hook on it that records the current
> module/controller/action set, and have a method that allows you to pop
> the last set for comparison purposes.
>
> --
> Matthew Weier O'Phinney
> Project Lead            | [email protected]
> Zend Framework          | http://framework.zend.com/
>

Reply via email to