Example 1:

Public function indexAction(){
If(condition)
$this->render(‘yourview.phtml’);
Else
Index.phtml;
}

Example 2:

Public function indexAction(){
}

Now in your index.phtml you can have this statement to call other view

$this->action(‘action name’,’controller name’,’module name’,array(‘parameter name’=>’parameter value’));

Posted in: Zend

Related FAQ's

Marius Ion ANGEL HOT SOFT LLC (800) 316-7677