routeStartup() called
\n"); } public function routeShutdown(Zend_Controller_Request_Abstract $request) { $this->getResponse() ->appendBody("routeShutdown() called
\n"); } public function dispatchLoopStartup( Zend_Controller_Request_Abstract $request) { $this->getResponse() ->appendBody("dispatchLoopStartup() called
\n"); } public function preDispatch(Zend_Controller_Request_Abstract $request) { $this->getResponse() ->appendBody("preDispatch() called
\n"); } public function postDispatch(Zend_Controller_Request_Abstract $request) { $this->getResponse() ->appendBody("postDispatch() called
\n"); } public function dispatchLoopShutdown() { $this->getResponse() ->appendBody("dispatchLoopShutdown() called
\n"); } } $front = Zend_Controller_Front::getInstance(); $front->setControllerDirectory('/path/to/controllers') ->setRouter(new Zend_Controller_Router_Rewrite()) ->registerPlugin(new MyPlugin()); $front->dispatch(); ]]>routeShutdown() called
dispatchLoopStartup() called
preDispatch() called
postDispatch() called
dispatchLoopShutdown() called
]]>