PHP 클래스 Neos\Neos\Domain\Model\Domain

It is used to connect a site root node to a specific hostname.
상속: implements Neos\Cache\CacheAwareInterface
파일 보기 프로젝트 열기: neos/neos-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$active boolean If domain is active
$hostname string
$port integer
$scheme string
$site Site

공개 메소드들

메소드 설명
__toString ( ) : string Returns a URI string representation of this domain
getActive ( ) : boolean Returns if the domain is active
getCacheEntryIdentifier ( )
getHostPattern ( ) : string Returns the hostname
getHostname ( ) : string Returns the hostname
getPort ( ) : integer Returns the port for this domain
getScheme ( ) : string Returns the scheme for this domain
getSite ( ) : Site Returns the site this domain is pointing to
onPostFlush ( ) : void Internal event handler to forward domain changes to the "siteChanged" signal
setActive ( boolean $active ) : void Sets if the domain is active
setHostPattern ( string $hostPattern ) : void Sets the hostname
setHostname ( string $hostname ) : void Sets the hostname
setPort ( integer $port = null ) : void Sets the port for the domain
setScheme ( string $scheme = null ) : void Sets the scheme for the domain
setSite ( Site $site ) : void Sets the site this domain is pointing to

메소드 상세

__toString() 공개 메소드

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

getActive() 공개 메소드

Returns if the domain is active
public getActive ( ) : boolean
리턴 boolean If active or not

getCacheEntryIdentifier() 공개 메소드

getHostPattern() 공개 메소드

Returns the hostname
사용 중단: after 3.0, use getHostname() instead
public getHostPattern ( ) : string
리턴 string The name

getHostname() 공개 메소드

Returns the hostname
public getHostname ( ) : string
리턴 string

getPort() 공개 메소드

Returns the port for this domain
public getPort ( ) : integer
리턴 integer The port

getScheme() 공개 메소드

Returns the scheme for this domain
public getScheme ( ) : string
리턴 string The scheme

getSite() 공개 메소드

Returns the site this domain is pointing to
public getSite ( ) : Site
리턴 Site

onPostFlush() 공개 메소드

Internal event handler to forward domain changes to the "siteChanged" signal
public onPostFlush ( ) : void
리턴 void

setActive() 공개 메소드

Sets if the domain is active
public setActive ( boolean $active ) : void
$active boolean If the domain is active
리턴 void

setHostPattern() 공개 메소드

Sets the hostname
사용 중단: after 3.0, use setHostname() instead
public setHostPattern ( string $hostPattern ) : void
$hostPattern string
리턴 void

setHostname() 공개 메소드

Sets the hostname
public setHostname ( string $hostname ) : void
$hostname string
리턴 void

setPort() 공개 메소드

Sets the port for the domain
public setPort ( integer $port = null ) : void
$port integer Port for the domain
리턴 void

setScheme() 공개 메소드

Sets the scheme for the domain
public setScheme ( string $scheme = null ) : void
$scheme string Scheme for the domain
리턴 void

setSite() 공개 메소드

Sets the site this domain is pointing to
public setSite ( Site $site ) : void
$site Site The site
리턴 void

프로퍼티 상세

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

If domain is active
protected bool $active
리턴 boolean

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

protected string $hostname
리턴 string

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

protected int $port
리턴 integer

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

protected string $scheme
리턴 string

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

protected Site,Neos\Neos\Domain\Model $site
리턴 Site