public function resetUrl()
    {
        $query = $this->request->getQuery();

        $searchParams = (array)$this->_View->get('_searchParams');
        $query = array_diff_key($query, $searchParams);

        $additionalBlacklist = (array)$this->getConfig('additionalBlacklist');
        foreach ($additionalBlacklist as $param) {
            unset($query[$param]);
        }

        return [
            '?' => $query,
        ];
    }
public function resetUrl()
    {
        $query = $this->request->getQuery();

        $searchParams = (array)$this->_View->get('_searchParams');
        $query = array_diff_key($query, $searchParams);

        $additionalBlacklist = (array)$this->getConfig('additionalBlacklist');
        foreach ($additionalBlacklist as $param) {
            unset($query[$param]);
        }

        return [
            '?' => $query,
        ];
    }
public function resetUrl ( ) { $ query = $ this -> request -> getQuery ( ) ; $ searchParams = ( array ) $ this -> _View -> get ( '_searchParams' ) ; $ query = array_diff_key ( $ query , $ searchParams ) ; $ additionalBlacklist = ( array ) $ this -> getConfig ( 'additionalBlacklist' ) ; foreach ( $ additionalBlacklist as $ param ) { unset ( $ query [ $ param ] ) ; } return [ '?' => $ query , ] ; }
Returns the cleaned URL.

@return array URL with cleaned Query string.
Returns the cleaned URL .