Professional Documents
Culture Documents
Zend_Controller_Front>dispatch() CreateStd.RequestObject Zend_Controller_Request_Http CreateStd.ResponseObject Zend_Controller_Response_Http Plugin Call:RouteStartup Standard:Zend_Controller_Router_Rewrite Also registered inPlugin Broker FindmatchingRoute (whichRoutematchesthe URL,LastInFirstOut Principle)
Routing Zend_Controller_Dispatcher_Standard Plugin Call:RouteShutdown Zend_Controller_Action_HelperBroker>__construct() SetActionControllerInstanceinallActionHelpers (loop) CallInit()methods of allregisteredHelpers registeredinthe Broker
Plugin Call:dispatchLoopStartup do
Zend_Controller_Action>dispatch() dsd Setdispatched =true inRequestObject CreateInstanceof the appropiate ActionController. Constructor of Zend_Controller_Action creates Zend_Controller_Action_HelperBroker. Helper Call:PreDispatch Plugin Call:preDispatch IsRequestObject reseted through apreDispatch Plugin? Yes Setdispatched =true inRequestObject CallpreDispatch() OutputinBuffer: ob_start()
ActionControllerDispatch Process
isDispatched()==true?
No
Plugin Call:postDispatch
CallActionController's dispatch()method
(Passesthe Nameof Actionto the Method)
CallpostDispatch()
Helper Call:PostDispatch
Plugin Call
Helper Call
Try CatchBlock
V1.01,Created by ThorstenRuf