PHP 클래스 Prado\Web\TUri

TUri represents a URI. Given a URI http://joe:[email protected]:8080/path/to/script.php?param=value#anchor it will be decomposed as follows, - scheme: http - host: example.com - port: 8080 - user: joe - password: whatever - path: /path/to/script.php - query: param=value - fragment: anchor
부터: 3.0
저자: Qiang Xue ([email protected])
상속: extends Prado\TComponent
파일 보기 프로젝트 열기: pradosoft/prado 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( $uri ) Constructor.
getFragment ( ) : string
getHost ( ) : string
getPassword ( ) : string
getPath ( ) : string
getPort ( ) : integer
getQuery ( ) : string
getScheme ( ) : string
getUri ( ) : string
getUser ( ) : string

메소드 상세

__construct() 공개 메소드

Decomposes the specified URI into parts.
public __construct ( $uri )

getFragment() 공개 메소드

public getFragment ( ) : string
리턴 string fragment of the URI

getHost() 공개 메소드

public getHost ( ) : string
리턴 string hostname of the URI

getPassword() 공개 메소드

public getPassword ( ) : string
리턴 string password of the URI

getPath() 공개 메소드

public getPath ( ) : string
리턴 string path of the URI

getPort() 공개 메소드

public getPort ( ) : integer
리턴 integer port number of the URI

getQuery() 공개 메소드

public getQuery ( ) : string
리턴 string query string of the URI

getScheme() 공개 메소드

public getScheme ( ) : string
리턴 string scheme of the URI, such as 'http', 'https', 'ftp', etc.

getUri() 공개 메소드

public getUri ( ) : string
리턴 string URI

getUser() 공개 메소드

public getUser ( ) : string
리턴 string username of the URI