PHP 클래스 Neos\Flow\Http\Uri

파일 보기 프로젝트 열기: neos/flow-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$arguments array Array representation of the URI query
$fragment string Fragment / anchor, if one was specified.
$host string Host of the locator, eg. some.subdomain.example.com
$password string Password of a login, if any
$path string The hierarchical part of the URI, eg. /products/acme_soap
$port integer Port of the locator, if any was specified. Eg. 80
$query string Query string of the locator, if any. Eg. color=red&size=large
$scheme string The scheme / protocol of the locator, eg. http
$username string User name of a login, if any

공개 메소드들

메소드 설명
__construct ( string $uriString ) Constructs the URI object from a string
__toString ( ) : string Returns a string representation of this URI
getArguments ( ) : array Returns the arguments from the URI's query part
getFragment ( ) : string Returns the fragment / anchor, if any
getHost ( ) : string Returns the host(s) of the URI
getPassword ( ) : string Returns the password of a login
getPath ( ) : string Returns the URI path
getPort ( ) : integer Returns the port of the URI
getQuery ( ) : string Returns the URI's query part
getScheme ( ) : string Returns the URI's scheme / protocol
getUsername ( ) : string Returns the username of a login
setFragment ( string $fragment ) : void Sets the fragment in the URI
setHost ( string $host ) : void Sets the host(s) of the URI
setPassword ( string $password ) : void Sets the URI's password
setPath ( string $path ) : void Sets the path of the URI
setPort ( string $port ) : void Sets the port in the URI
setQuery ( string $query ) : void Sets the URI's query part. Updates (= overwrites) the arguments accordingly!
setScheme ( string $scheme ) : void Sets the URI's scheme / protocol
setUsername ( string $username ) : void Sets the URI's username

메소드 상세

__construct() 공개 메소드

Constructs the URI object from a string
public __construct ( string $uriString )
$uriString string String representation of the URI

__toString() 공개 메소드

Returns a string representation of this URI
public __toString ( ) : string
리턴 string This URI as a string

getArguments() 공개 메소드

Returns the arguments from the URI's query part
public getArguments ( ) : array
리턴 array Associative array of arguments and values of the URI's query part

getFragment() 공개 메소드

Returns the fragment / anchor, if any
public getFragment ( ) : string
리턴 string The fragment

getHost() 공개 메소드

Returns the host(s) of the URI
public getHost ( ) : string
리턴 string The hostname(s)

getPassword() 공개 메소드

Returns the password of a login
public getPassword ( ) : string
리턴 string Password of the login

getPath() 공개 메소드

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

getPort() 공개 메소드

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

getQuery() 공개 메소드

Returns the URI's query part
public getQuery ( ) : string
리턴 string The query part

getScheme() 공개 메소드

Returns the URI's scheme / protocol
public getScheme ( ) : string
리턴 string URI scheme / protocol

getUsername() 공개 메소드

Returns the username of a login
public getUsername ( ) : string
리턴 string User name of the login

setFragment() 공개 메소드

Sets the fragment in the URI
public setFragment ( string $fragment ) : void
$fragment string The fragment (aka "anchor")
리턴 void

setHost() 공개 메소드

Sets the host(s) of the URI
public setHost ( string $host ) : void
$host string The hostname(s)
리턴 void

setPassword() 공개 메소드

Sets the URI's password
public setPassword ( string $password ) : void
$password string Password of the login
리턴 void

setPath() 공개 메소드

Sets the path of the URI
public setPath ( string $path ) : void
$path string The path
리턴 void

setPort() 공개 메소드

Sets the port in the URI
public setPort ( string $port ) : void
$port string The port number
리턴 void

setQuery() 공개 메소드

Sets the URI's query part. Updates (= overwrites) the arguments accordingly!
public setQuery ( string $query ) : void
$query string The query string.
리턴 void

setScheme() 공개 메소드

Sets the URI's scheme / protocol
public setScheme ( string $scheme ) : void
$scheme string The scheme. Allowed values are "http" and "https"
리턴 void

setUsername() 공개 메소드

Sets the URI's username
public setUsername ( string $username ) : void
$username string User name of the login
리턴 void

프로퍼티 상세

$arguments 보호되어 있는 프로퍼티

Array representation of the URI query
protected array $arguments
리턴 array

$fragment 보호되어 있는 프로퍼티

Fragment / anchor, if one was specified.
protected string $fragment
리턴 string

$host 보호되어 있는 프로퍼티

Host of the locator, eg. some.subdomain.example.com
protected string $host
리턴 string

$password 보호되어 있는 프로퍼티

Password of a login, if any
protected string $password
리턴 string

$path 보호되어 있는 프로퍼티

The hierarchical part of the URI, eg. /products/acme_soap
protected string $path
리턴 string

$port 보호되어 있는 프로퍼티

Port of the locator, if any was specified. Eg. 80
protected int $port
리턴 integer

$query 보호되어 있는 프로퍼티

Query string of the locator, if any. Eg. color=red&size=large
protected string $query
리턴 string

$scheme 보호되어 있는 프로퍼티

The scheme / protocol of the locator, eg. http
protected string $scheme
리턴 string

$username 보호되어 있는 프로퍼티

User name of a login, if any
protected string $username
리턴 string