hey! :)
Question, I'm trying to do this, I'm on a controller action and inside this
action I want to execute another one and then get the rendered html, is that
possible ? I'm doing something like:
public function myAction()
{
// Execute another action using _forward method.
$this->_forward( "anotherMy", "anotherController", "anotherModule", array(
"id" => $this->getRequest()->getParam( "id" ) ) );
// Get the current response.
$this->view->strAnotherMyBody = $this->getResponse()->getBody();
// Render current view, my/my.phtml
$this->render();
}
What's the best practice ?
Thx for any help.