src/Net/HTTP/Request.php
public function getUrl( $absolute = TRUE ){
		$url	= new ADT_URL( getEnv( 'REQUEST_URI' ) );
		if( $absolute ){
			$url->setScheme( getEnv( 'REQUEST_SCHEME' ) );
			$url->setHost( getEnv( 'HTTP_HOST' ) );
		}
		return $url;
	}
public function getUrl( $absolute = TRUE ){
		$url	= new ADT_URL( getEnv( 'REQUEST_URI' ) );
		if( $absolute ){
			$url->setScheme( getEnv( 'REQUEST_SCHEME' ) );
			$url->setHost( getEnv( 'HTTP_HOST' ) );
		}
		return $url;
	}
public function getUrl ( $ absolute = TRUE ) { $ url = new ADT_URL ( getEnv ( 'REQUEST_URI' ) ) ; if ( $ absolute ) { $ url -> setScheme ( getEnv ( 'REQUEST_SCHEME' ) ) ; $ url -> setHost ( getEnv ( 'HTTP_HOST' ) ) ; } return $ url ; }
Get requested URL, relative of absolute.
@access		public
@param		boolean		$absolute		Flag: return absolute URL
@return		ADT_URL
Get requested URL relative of absolute .