public function getQueryParametersArray() {
        $queryString = $this->getQueryString();

        if (strlen($queryString) == 0) return array();

        $splitQuery = explode("&", substr($queryString, 1));
        $returnedParams = array();
        foreach ($splitQuery as $param) {
            $splitParam = explode("=", $param);
            if (sizeof($splitParam) == 2) $returnedParams [$splitParam [0]] = $splitParam [1];
        }

        return $returnedParams;

    }
public function getQueryParametersArray() {
        $queryString = $this->getQueryString();

        if (strlen($queryString) == 0) return array();

        $splitQuery = explode("&", substr($queryString, 1));
        $returnedParams = array();
        foreach ($splitQuery as $param) {
            $splitParam = explode("=", $param);
            if (sizeof($splitParam) == 2) $returnedParams [$splitParam [0]] = $splitParam [1];
        }

        return $returnedParams;

    }
public function getQueryParametersArray ( ) { $ queryString = $ this -> getQueryString ( ) ; if ( strlen ( $ queryString ) == 0 ) return array ( ) ; $ splitQuery = explode ( "&" , substr ( $ queryString , 1 ) ) ; $ returnedParams = array ( ) ; foreach ( $ splitQuery as $ param ) { $ splitParam = explode ( "=" , $ param ) ; if ( sizeof ( $ splitParam ) == 2 ) $ returnedParams [ $ splitParam [ 0 ] ] = $ splitParam [ 1 ] ; } return $ returnedParams ; }
Get all query parameters contained within this URL as an associative array.

@return array
Get all query parameters contained within this URL as an associative array .