PHP 클래스 Amp\Artax\Uri

파일 보기 프로젝트 열기: amphp/artax 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( $uri )
__toString ( )
canResolve ( $toResolve ) Is the specified URI string resolvable against the current URI instance?
getAbsoluteUri ( ) Retrieve the URI without the fragment component
getAllQueryParameters ( ) : array
getAuthority ( $hiddenPass = true )
getFragment ( ) : string
getHost ( ) : string
getOriginalUri ( ) : array
getPass ( ) : string
getPath ( ) : string
getPort ( ) : integer
getQuery ( ) : string
getQueryParameter ( string $parameter ) : string
getScheme ( ) : string
getUser ( ) : string
hasQueryParameter ( string $parameter ) : boolean
isIpV4 ( ) : boolean
isIpV6 ( ) : boolean
normalize ( ) : string Normalizes the URI for maximal comparison success
resolve ( string $toResolve ) : Uri

비공개 메소드들

메소드 설명
decodeReservedSubDelimiters ( $str )
decodeUnreservedCharacters ( $str )
mergePaths ( $basePath, $pathToMerge )
normalizeDefaultPort ( ) "URI producers and normalizers should omit the port component and its ":" delimiter if port is empty or if its value would be the same as that of the scheme's default."
parse ( $uri )
parseQueryParameters ( )
reconstitute ( $scheme, $authority, $path, $query, $fragment )
removeDotSegments ( $input )

메소드 상세

__construct() 공개 메소드

public __construct ( $uri )

__toString() 공개 메소드

public __toString ( )

canResolve() 공개 메소드

Is the specified URI string resolvable against the current URI instance?
public canResolve ( $toResolve )

getAbsoluteUri() 공개 메소드

Retrieve the URI without the fragment component
public getAbsoluteUri ( )

getAllQueryParameters() 공개 메소드

public getAllQueryParameters ( ) : array
리턴 array

getAuthority() 공개 메소드

public getAuthority ( $hiddenPass = true )

getFragment() 공개 메소드

public getFragment ( ) : string
리턴 string

getHost() 공개 메소드

public getHost ( ) : string
리턴 string

getOriginalUri() 공개 메소드

public getOriginalUri ( ) : array
리턴 array

getPass() 공개 메소드

public getPass ( ) : string
리턴 string

getPath() 공개 메소드

public getPath ( ) : string
리턴 string

getPort() 공개 메소드

public getPort ( ) : integer
리턴 integer

getQuery() 공개 메소드

public getQuery ( ) : string
리턴 string

getQueryParameter() 공개 메소드

public getQueryParameter ( string $parameter ) : string
$parameter string
리턴 string

getScheme() 공개 메소드

public getScheme ( ) : string
리턴 string

getUser() 공개 메소드

public getUser ( ) : string
리턴 string

hasQueryParameter() 공개 메소드

public hasQueryParameter ( string $parameter ) : boolean
$parameter string
리턴 boolean

isIpV4() 공개 메소드

public isIpV4 ( ) : boolean
리턴 boolean

isIpV6() 공개 메소드

public isIpV6 ( ) : boolean
리턴 boolean

normalize() 공개 메소드

Normalizes the URI for maximal comparison success
public normalize ( ) : string
리턴 string

resolve() 공개 메소드

public resolve ( string $toResolve ) : Uri
$toResolve string
리턴 Uri