Issues

ZF-7989: Where does "View" come in in your plugin

Description

http://framework.zend.com/manual/en/…

contains a method


    public function getBuild()
    {
        if (null === $this->_build) {
            $this->_build = new Zend_Dojo_BuildLayer(array(
                'view'      => $view,
                'layerName' => 'custom.main',
            ));
        }
        return $this->_build;
    }

uh.... where does the $view variable get set?

Thanks

Comments

set component and auto reassign

The method specified in the description is in the example under the link http://framework.zend.com/manual/en/…

The $view should be an instance of Zend_View. Will we add the process of obtaining it in this example?

Example updated to pull view from ViewRenderer.