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

Issue Type: Docs: Problem Created: 2009-09-30T07:54:31.000+0000 Last Updated: 2009-12-18T13:51:07.000+0000 Status: Resolved Fix version(s): - 1.9.7 (11/Jan/10)

Reporter: Dave Edelhart (bingoman) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Dojo

Related issues: Attachments:


contains a method

<pre class="highlight">
    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?



Posted by Satoru Yoshida (satoruyoshida) on 2009-09-30T15:50:21.000+0000

set component and auto reassign

Posted by Robert Basic (robertbasic) on 2009-11-29T07:29:08.000+0000

The method specified in the description is in the example under the link…

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

Posted by Matthew Weier O'Phinney (matthew) on 2009-12-18T13:51:07.000+0000

Example updated to pull view from ViewRenderer.

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.