I want to know that does zend allow this thing and if yes than how?
public xAction()
{
// code here
}
public yAction(){
$this->_helper->viewRenderer('x');
// code here....
// $this->view->variable= $somedata;
}
**x.phtml**
<?php echo $this->variable; ?>
Zend allows the rendering of a different view script. You can do it like this: $this->_helper->viewRenderer('controller/action', null, true);
More info here (Example #11)