diff -r bd595ad770fc -r 1c2f13fd785c web/enmi/Zend/Application/Resource/Layout.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/enmi/Zend/Application/Resource/Layout.php Thu Jan 20 19:30:54 2011 +0100 @@ -0,0 +1,70 @@ +getBootstrap()->bootstrap('FrontController'); + return $this->getLayout(); + } + + /** + * Retrieve layout object + * + * @return Zend_Layout + */ + public function getLayout() + { + if (null === $this->_layout) { + $this->_layout = Zend_Layout::startMvc($this->getOptions()); + } + return $this->_layout; + } +}