Hi,
I replaced my old bootstrap.php and Initializer.php by the new Bootstrap.php
(class extends Zend_Application_Bootstrap_Bootstrap).
In my Initializer I had the functions routeStartup and routeShutdown where I
called some functions.
In my new implementation I created a controller plugin (class extends
Zend_Controller_Plugin_Abstract) where the routeStartup and Shutdown are
defined.
Now my question is, if it isn't possible to do this in my Bootstrap class
and not in the plugin. Because I have my own View class (extends Zend_View)
which needs the routed $request object.
So I want to do it like this, to initialize the view after the
routeShutdown:
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
...
protected function _routeStartup()
{
...
}
protected function _routeShutdown()
{
...
}
protected function _initView()
{
...
}
}
Is this possible?
Greets Matthias!
--
View this message in context:
http://www.nabble.com/Zend-Bootstrapping-tp24715024p24715024.html
Sent from the Zend Framework mailing list archive at Nabble.com.