I'm not sure if I'm understanding you correctly, because seems to be
trivial:
class my_controller extends AppController {
var $data;
function MethodA() {
$this->data = 'hello world';
}
function MethodB() {
die($this->data); // hello world.
}
}
Or even:
class my_controller extends AppController {
function MethodA() {
return 'hello world';
}
function MethodB() {
die($this->MethodA()); // hello world
}
}
Anyway, are you sure you REALLY need to invoke two different actions
one after each other?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---