Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (8)

View Page History
<?php
{zone-template-instance:ZFDEV:Zend Proposal Zone Template}

1.1 - 10 Aug 2007: Took out of construction and placed under review
1.2 - 30 Aug 2007: Updated proposal with new class skeletons
1.3 - 21 Sep 2007: Updated with layout view helper and Zend_View_Inflection
{zone-data}

public function layout()
{
return $this->getLayout();
}

/**
* Retrieve Zend_Layout instance
*
* @return Zend_Layout
*/
public function getLayout()
{
if (null === $this->_layout) {
if ($this->_front->hasPlugin($this->pluginClass)) {
$this->_layout = $this->_front->getPlugin($this->pluginClass)->getLayout();
return $this->_front->getPlugin($this->pluginClass)->getLayout(); }
}

return null; $this->_layout;
}

/**
* Set layout object
*
* @param Zend_Layout $layout
* @return Zend_View_Helper_Layout
*/
public function setLayout(Zend_Layout $layout)
{
$this->_layout = $layout;
return $this;
}
}
{code}