lib/Uri.php
protected function buildStr()
    {
        $uri = ($this->scheme != null) ? ($this->scheme . ':') : '';
        if ($this->isOpaque()) {
            $uri .= $this->schemeSpecificPart;
        } else {

            $uri .= $this->buildAuthorityStr();

            if ($this->path !== null) {
                $uri .= $this->path;
            }
            if (!empty($this->query)) {
                $uri .= '?' . $this->query;
            }
        }
        if (!empty($this->fragment)) {
            $uri .= '#' . $this->fragment;
        }
        return $uri;
    }
protected function buildStr()
    {
        $uri = ($this->scheme != null) ? ($this->scheme . ':') : '';
        if ($this->isOpaque()) {
            $uri .= $this->schemeSpecificPart;
        } else {

            $uri .= $this->buildAuthorityStr();

            if ($this->path !== null) {
                $uri .= $this->path;
            }
            if (!empty($this->query)) {
                $uri .= '?' . $this->query;
            }
        }
        if (!empty($this->fragment)) {
            $uri .= '#' . $this->fragment;
        }
        return $uri;
    }
protected function buildStr ( ) { $ uri = ( $ this -> scheme != null ) ? ( $ this -> scheme . ':' ) : '' ; if ( $ this -> isOpaque ( ) ) { $ uri .= $ this -> schemeSpecificPart ; } else { $ uri .= $ this -> buildAuthorityStr ( ) ; if ( $ this -> path !== null ) { $ uri .= $ this -> path ; } if ( ! empty ( $ this -> query ) ) { $ uri .= '?' . $ this -> query ; } } if ( ! empty ( $ this -> fragment ) ) { $ uri .= '#' . $ this -> fragment ; } return $ uri ; }
Returns the content of this URI as a string.

This URI was created by normalization, resolution, or relativization,
and so a string is constructed from this URI's components
according to the rules specified in RFC 2396, section 5.2, step 7.

@return string
Returns the content of this URI as a string .