Accessing the layout() in Zend Framework

Actually there are two syntactic valid ways to access the layout() helper of the Zend_View.

First one is the more clean way:

$this->view->layout()

While the second calls the _helper member variable

$this->_helper->layout()

Leave a Reply

Your email address will not be published. Required fields are marked *