From your view helepr you might want to access
You will be able to do all of the above if the view object is available in your view helper. To make sure view object is available to your helper do any of the following
<?php
class My_View_Helper extends Zend_View_Helper_Abstract{}
?><?php
public $view;
function setView(Zend_View_Interface $view) {
$this->view = $view;
}
?>Once the view object is accessible in your view helper, you can call another view helper. For example,
<?php
$this->view->OtherHelper();
?>
Post new comment