Hi,

there is a method of *setLayout(Zend_Layout $layout)* in the view helper of
*Zend_View_Helper_Layout*, how to call this method? the code, *
$this->layout(),* in the view just return the instance of the *Zend_Layout*,
not the *Zend_View_Helper_Layout* instance.

in the view file:
<?php
// call Zend_Layout::setLayout($name), not
Zend_View_Helper_Layout::setLayout(Zend_Layout $layout)
$this->layout()->setLayout('layout');
?>

maybe it is a bug?

Best Regards,
Jacky

Reply via email to