2010年5月24日星期一

[fw-mvc] Controller preDispatch() and skipping actions

Hello!

I am setting the request's "isDispatched" flag to true from within a controller's preDispatch hook, but the action method is still running (verified by calling die('should not be run');). Is there a way to skip the action method and have it jump straight to postDispatch() or do I need to implement that logic on my own? I am using ZF 1.8. Thanks!

--
Hector

没有评论: