This is what I want to do:
class IndexController extends Zend_Controller_Action
{
public function indexAction()
{
//some code
$this->view->var = 'something';
}
public function differentAction()
{
//here, I want to execute the indexAction, but render the differentAction view script
}
}
How can I execute the code from a different action, but render the current view script? I want the view variable to apply to the differentAction view script.