View Single Post
  #1 (permalink)  
Old 04-23-2008, 07:25 AM
Snuyt Snuyt is offline
Junior Member
 
Join Date: Apr 2008
Posts: 1
Default Use controller/action output as a string in another action

Anyone knows how to do this? This seems usefull for sending emails etc...

class myController {

function myAction() {
$string = <???????>
mail("my@email.com", $subject, $string);
}

}


where string is the output of a controller/action. I tried to use $this->view->action() but this seem to halt the execution of the current action. Thanks in advance!
Reply With Quote