configurations may be needed sometimes I guess, I override _bootstrap() in
my bootstrap, to be able to set my own view after the ressources are loaded:
------------------------
protected function _bootstrap($resource = null)
{
parent::_bootstrap($resource);
$viewRenderer =
Zend_Controller_Action_HelperBroker::getStaticHelper('viewRenderer');
$view = new My_View();
$viewRenderer->setView($view);
}
------------------------
This works great...
--
View this message in context: http://n4.nabble.com/How-to-extend-Zend-View-tp1563653p1563765.html
Sent from the Zend MVC mailing list archive at Nabble.com.
没有评论:
发表评论