On 18 Apr 2012, at 10:46, Matt Kynaston wrote:
> 
> 
> I think this post is what you are looking for:
> http://akrabat.com/zend-framework-2/module-specific-bootstrapping-in-zf2/
> 
> Rob's example talks about hooking into the 'dispatch' event. As far as I
> can tell this gets fired _after_ your controller has completed. If you need
> to do something before, hook into the 'route' event with a low priority.

As the dispatch itself is done via the dispatch event, you can simply pick a 
higher priority and trigger before the controller action.

Regards,

Rob...
--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to