PHPFusion\Rewrite\Router::buildParams PHP Метод

buildParams() приватный Метод

Builds the $_GET parameters This function will build the GET parameters and also the Query String.
private buildParams ( )
    private function buildParams()
    {
        $total = count($this->get_parameters);
        $i = 1;
        $query_str = "";
        foreach ($this->get_parameters as $key => $val) {
            $_GET[$key] = $val;
            // This is where $_GET is produced.
            $query_str .= $key . "=" . $val;
            if ($i < $total) {
                $query_str .= "&";
            }
            $i++;
        }
        return $query_str;
    }