Returns the request parameters given in the {@see \rock\request\Request::$queryString}.

This method will return the contents of `$_GET` if params where not explicitly set.
@return array the request GET parameter values.
@see setRawQueryParams()
977805
public function getQueryParams()
    {
        if (isset($this->_queryParams)) {
            return $this->_queryParams;
        }

        if ($queryString = $this->getQueryString()) {
            $result = [];
            parse_str($queryString, $result);
            return $this->_queryParams = $result;
        }

        return $this->_queryParams;
    }
37970
protected function pullGet(): array {
		if (!is_array($this->getVars)) {
			$this->getVars = $this->request->getQueryParams();
		}
		
		return $this->getVars;
	}
569293
protected function setRequestQueryString()
    {
        $query = $this->request->getQuery();

        foreach ($this->queryStrings as $key => $value) {
            $query->set($key, $value);
        }
    }
1319472
public function getRequestParameters($request_parameters)
    {
        $ret = [];
        $parts = explode('&', $request_parameters);
        foreach ($parts as $part) {
            list($key, $value) = explode('=', $part);
            $key_decoded = urldecode($key);
            $value_decoded = urldecode($value);
            $ret[$key_decoded] = $value_decoded;
        }
        return $ret;
    }
1268247
public function getRequestParameters()
    {
        // $page current page of the grid
        $page = (int) $this->getRequest()->get('page', 0);
        
        // $orderBy column name to sort datagrid records
        $orderBy = $this->getRequest()->get('sidx', false);
        
        // ASC | DESC $sort
        $sort = strtoupper($this->getRequest()->get('sord', 'asc'));
        
        // $records  number of records to display
        $records = (int) $this->getRequest()->get('rows', 0);
        
        // $search is search in the query
        $search = ($this->getRequest()->get('_search', false) === 'true');
 
        // $filters Filters from the search query
        $filters = (array) json_decode($this->getRequest()->get('filters', '{}'));
        
        // $masterRowId Id of the master grid record
        $masterGridRowId = (int) $this->getRequest()->get('masterGridRowId', 0);
        
        $parameters = array(
            'page'            => $page,
            'orderBy'         => $orderBy,
            'sort'            => $sort,
            'records'         => $records,
            'search'          => $search,
            'filters'         => $filters,
            'masterGridRowId' => $masterGridRowId
        );
        
        return $parameters;
    }
109561
protected function parseQueryParams($url)
    {
        $queries = [];

        $querySegment = \parse_url($url, PHP_URL_QUERY);
        \parse_str($querySegment, $queries);

        return $queries;
    }
370667
public function getDataParams()
    {
        $method = $_SERVER['REQUEST_METHOD'];

        switch ($method) {
            case "POST":
                $this->dataParameters = $this->getPostFromInput();
                break;

            case "PUT":
            case "DELETE":
                $this->dataParameters = $this->getPostFromInput();
                break;
        }
    }
570246
public function getQueryString()
    {
        $query_string = '';
        if (count($this->query_string) > 0) {
            $query_string .= http_build_query($this->query_string);
        }
        if ($this->method != 'POST') {
            if (count($this->data) > 0) {
                $query_string .= http_build_query($this->data);
            }
        }
        if (mb_strlen($query_string) > 0) {
            $query_string = (mb_strpos($this->url, '?') ? '&' : '?') . $query_string;
        }

        return $query_string;
    }
194078
public function get_return_params() {
        global $PAGE;

        $params = array();
        if (!WS_SERVER) {
            $params = $PAGE->url->params();
        }
        unset($params['id']);
        unset($params['action']);
        return $params;
    }
1011435
protected function prepareGetParams()
    {
        $parsedUrl = parse_url($this->options[CURLOPT_URL]);
        $query = http_build_query($this->requestParams);

        if (isset($parsedUrl['query'])) {
            $parsedUrl['query'] .= '&'.$query;
        } else {
            $parsedUrl['query'] = $query;
        }

        $this->setUrl($this->buildUrl($parsedUrl));
    }
1170423
protected function getAllowedQueryParameters()
    {
        $queryParameters = QueryService::getDefaultQueryParameters();
        $customParameters = $this->getCustomQueryParameters();

        if (is_array($customParameters) && count($customParameters) > 0) {
            $queryParameters = array_merge($queryParameters, $customParameters);
        }

        return $queryParameters;
    }
73263
private static function parseQuery() : array
    {
        /*
         * Parse the query string. We need to do this ourself, so that we get access
         * to the raw (urlencoded) values. This is required because different software
         * can urlencode to different values.
         */
        $data = [];
        $relayState = '';
        $sigAlg = '';
        $sigQuery = '';
        foreach (explode('&', $_SERVER['QUERY_STRING']) as $e) {
            $tmp = explode('=', $e, 2);
            $name = $tmp[0];
            if (count($tmp) === 2) {
                $value = $tmp[1];
            } else {
                /* No value for this parameter. */
                $value = '';
            }
            $name = urldecode($name);
            $data[$name] = urldecode($value);

            switch ($name) {
                case 'SAMLRequest':
                case 'SAMLResponse':
                    $sigQuery = $name.'='.$value;
                    break;
                case 'RelayState':
                    $relayState = '&RelayState='.$value;
                    break;
                case 'SigAlg':
                    $sigAlg = '&SigAlg='.$value;
                    break;
            }
        }

        $data['SignedQuery'] = $sigQuery.$relayState.$sigAlg;

        return $data;
    }
1196710
public function getQueryParameters() {
        $params = array();
        $params['itemType'] = $this->item_type;
        $params['itemId'] = $this->item_id;
        $params['time'] = $this->time;
        return $params;
    }
1041282
public function getNextLinkQueryStringParams()
    {
        $nextLink = $this->getNextLink();
        if (!isset($nextLink)) {
            throw new \Exception('No HATEOAS \"next\" link provided.');
        }
        $parsedUrl = parse_url($nextLink->getUrl());
        $qsArray = [];
        parse_str($parsedUrl['query'], $qsArray);
        return $qsArray;
    }
454616
public static function GetRequestParameterList () {
		if ($_SERVER['argc'] < 1) {
			return [];
		}
		$current_key = 0;
		$parameter_list = [];

		$args = array_slice($_SERVER['argv'], 1);
		$argc = count($args);

		for ($i = 0;$i < $argc;$i++) {
			$argv = $args[$i];
			if (substr($argv, 0, 1) === '-') {
				$current_key = substr($argv, 1);
				$parameter_list[$current_key] = '';
				if (isset($args[$i + 1]) && substr($args[$i + 1], 0, 1) !== '-') {
					$parameter_list[$current_key] = $args[$i + 1];
					$i++;
				}
				continue;
			}
			if (isset($parameter_list[$current_key])) {
				if (!is_array($parameter_list[$current_key])) {
					$parameter_list[$current_key] = (array) $parameter_list[$current_key];
				}
				$parameter_list[$current_key][] = $argv;
			} else {
				$parameter_list[$current_key] = $argv;
			}
		}

		return $parameter_list;
	}
1195389
public static RequestParams getRequestParams(String queryString) {
        if (null == queryString)
            return null;

        QueryStringParser parser = new QueryStringParser(queryString);
        RequestParams result = new RequestParams();
        while (parser.next()) {
            result.put(parser.getName(), parser.getValue());
        }
        return result;
    }
625898
public function getQueryParameters() {
        $params = array();
        $params['userId'] = $this->user_id;
        $params['itemId'] = $this->item_id;
        if (isset($this->optional['sessionId']))
            $params['sessionId'] = $this->optional['sessionId'];
        return $params;
    }