src/Controller/Component/FilterComponent.php
protected function _setViewData($formName)
    {
        $this->controller()->request->data($formName, $this->parameters()->viewValues());
        $this->controller()->set('searchParameters', $this->parameters());
    }
protected function _setViewData($formName)
    {
        $this->controller()->request->data($formName, $this->parameters()->viewValues());
        $this->controller()->set('searchParameters', $this->parameters());
    }
protected function _setViewData ( $ formName ) { $ this -> controller ( ) -> request -> data ( $ formName , $ this -> parameters ( ) -> viewValues ( ) ) ; $ this -> controller ( ) -> set ( 'searchParameters' , $ this -> parameters ( ) ) ; }
Set up view data

@param string $formName Form name.
@return void
Set up view data