I'm setting data to another_view
action using following process. But I can't get the sending data.
$this->autoRender = false;
$dis = new Dispatcher();
$dis->dispatch(
array("controller" => "users", "action" => "another_view"),
array("data" => $user)
);
How can I get this $user
data from another_view
?
please help, thanks.