Issues

ZF-8279: View Script Template Docs Syntax Error

Description

In the documentation, on the view renderer page: http://framework.zend.com/manual/en/…

$viewRenderer = new Zend_Controller_Action_HelperBroker::getStaticHelper('ViewRenderer');

should be:

$viewRenderer = Zend_Controller_Action_HelperBroker::getStaticHelper('ViewRenderer');

The "new" keyword is a syntax error.

Comments

I think this issue would be duplicate of ZF-8254