hi i want store in a variable all data from my grid, in yii1 i did that like this
$dataProvider = $_SESSION['Anexo1']->getData();
now in yii2 how can i do that?
hi i want store in a variable all data from my grid, in yii1 i did that like this
$dataProvider = $_SESSION['Anexo1']->getData();
now in yii2 how can i do that?
\Yii::$app->session->set(‘Anexo1’, $data);
$dataProvider = \Yii::$app->session->get(‘Anexo1’);
who would be the variable $data?