public static function getParameterFromQueryString($urlQuery, $parameter)
    {
        $nameToValue = self::getArrayFromQueryString($urlQuery);

        if (isset($nameToValue[$parameter])) {
            return $nameToValue[$parameter];
        }
        return null;
    }
public static function getParameterFromQueryString($urlQuery, $parameter)
    {
        $nameToValue = self::getArrayFromQueryString($urlQuery);

        if (isset($nameToValue[$parameter])) {
            return $nameToValue[$parameter];
        }
        return null;
    }
public static function getParameterFromQueryString ( $ urlQuery , $ parameter ) { $ nameToValue = self :: getArrayFromQueryString ( $ urlQuery ) ; if ( isset ( $ nameToValue [ $ parameter ] ) ) { return $ nameToValue [ $ parameter ] ; } return null ; }
Returns the value of a single query parameter from the supplied query string.

@param string $urlQuery The query string.
@param string $parameter The query parameter name to return.
@return string|null Parameter value if found (can be the empty string!), null if not found.
@api
Returns the value of a single query parameter from the supplied query string .