2010年2月21日星期日

Re: [fw-mvc] Re: How to extend Zend_View?

Try replacing your bootstrap code with this:

$viewRenderer = Zend_Controller_Action_HelperBroker::getStaticHelper('viewRenderer');
$view = new My_View();
$viewRenderer->setView($view);

--
Hector


On Sun, Feb 21, 2010 at 11:02 AM, electrotype <electrotype@gmail.com> wrote:

Thanks but that doesn't help me!

I understand the concept of Zend_View extending Zend_View_Abstract.. What I
don't understand is how to globally replace the use of Zend_View by my own
extending class.


--
View this message in context: http://n4.nabble.com/How-to-extend-Zend-View-tp1563653p1563696.html
Sent from the Zend MVC mailing list archive at Nabble.com.


没有评论: