Hello.
I have big array in view. TThis array is the result of a controller action. In next step I want use this array in another controller? I don’t know how to send array to another action controller.
I would ask for some tips, tutorial.
Hello.
I have big array in view. TThis array is the result of a controller action. In next step I want use this array in another controller? I don’t know how to send array to another action controller.
I would ask for some tips, tutorial.
check this link
I check this link but didn’t work.
I try:
public function actionOne()
{
$tab=array('one','two','three');
$this->actionTwo($tab);
$this->render('one',['test' => $tab]);
}
public function actionTest($qwe=array())
{
$this->render('two',['sss' => qwe]);
}
Any I idea how do this?