Yii Get Search() Values From Last Search

Hello @ all,

i have a little problem to access to the last search values a user typed in the searchformular. I try to create an exceltable with the extention ‘EExcelView’ and i only want the data of the previously search of the user.




public function actionGenerateExcel()

    {

        $data = Yii::app()->getRequest()->getParam('fullname','address_city');

        

        $systemuser = new Systemuser();

        $systemuser->setAttributes($data);

        

      

        $dataProvider = $systemuser->search();


        $this->widget('application.extensions.EExcelView',

                array(

            'dataProvider' => $dataProvider,

            'grid_mode' => 'export',

            'title' => 'Title',

            'filename' => 'schlieper.xlsx',

            'stream' => true,

            'exportType' => 'Excel5',

                )

        );

    }



Here is the url if the user is searching for something:

.../index.php/systemuser/admin?Systemuser%5Bfullname%5D=Alexander&Systemuser%5Baddress_zip%5D=&Systemuser%5Baddress_city%5D=

&Systemuser%5Buser_status%5D=&Systemuser%5Bagency_id%5D=&Systemuser%5Buser_role%5D=

5&searchByLetter%5Bletter%5D=&searchByLetter%5Bclicked%5D=false&yt0=search

mybe another way to do this?

P.S Sorry for my english writing