메소드 | 설명 | |
---|---|---|
__construct ( |
Constructor. | |
getIp ( ) : string | Gets the client IP. | |
getMimeType ( ) : string. | Gets the Mime Type. | |
getPath ( ) : string | Gets the path. e.g: /index.html. | |
getPathFilename ( ) : string | Gets the path with "index.html" append. | |
isInternal ( ) : boolean | Is internal resource? |
public __construct ( |
||
$request | ||
$documentRoot | string | Path to the document root |
$serverRoot | string | Path to the server root |
public getPathFilename ( ) : string | ||
리턴 | string | Absolute path using either document root or server root (iternal requests) |