library/Helper/Url.php
public static function getQueryString()
    {
        $querystringsDefault = explode('&', $_SERVER['QUERY_STRING']);
        $querystrings = array();

        foreach ($querystringsDefault as $querystring) {
            $querystring = explode('=', $querystring);
            $querystrings[$querystring[0]] = isset($querystring[1]) ? $querystring[1] : null;
        }

        return $querystrings;
    }
public static function getQueryString()
    {
        $querystringsDefault = explode('&', $_SERVER['QUERY_STRING']);
        $querystrings = array();

        foreach ($querystringsDefault as $querystring) {
            $querystring = explode('=', $querystring);
            $querystrings[$querystring[0]] = isset($querystring[1]) ? $querystring[1] : null;
        }

        return $querystrings;
    }
public static function getQueryString ( ) { $ querystringsDefault = explode ( '&' , $ _SERVER [ 'QUERY_STRING' ] ) ; $ querystrings = array ( ) ; foreach ( $ querystringsDefault as $ querystring ) { $ querystring = explode ( '=' , $ querystring ) ; $ querystrings [ $ querystring [ 0 ] ] = isset ( $ querystring [ 1 ] ) ? $ querystring [ 1 ] : null ; } return $ querystrings ; }
Get array with querystring params and values in current url
@return array
Get array with querystring params and values in current url