Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-23-2008, 07:25 AM
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-24-2008, 08:03 AM
Junior Member
 
Join Date: Apr 2008
Posts: 3
Default

I have the same question

Last edited by Nicodémus : 04-24-2008 at 08:22 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-26-2008, 11:41 PM
Junior Member
 
Join Date: Apr 2008
Posts: 1
Default

me 2 ,thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 10:04 AM.