public function query()
    {
        $queryData = [
            self::FORM_BLOCK_NAME => $this->getFiltersAsArray(),
            'page'                => $this->getSession('page'),
        ];

        return http_build_query($queryData);
    }
public function query()
    {
        $queryData = [
            self::FORM_BLOCK_NAME => $this->getFiltersAsArray(),
            'page'                => $this->getSession('page'),
        ];

        return http_build_query($queryData);
    }
public function query ( ) { $ queryData = [ self :: FORM_BLOCK_NAME => $ this -> getFiltersAsArray ( ) , 'page' => $ this -> getSession ( 'page' ) , ] ; return http_build_query ( $ queryData ) ; }
Returns the query string based on the filters and page in the session.

@return string
Returns the query string based on the filters and page in the session .