Property | Type | Description | |
---|---|---|---|
$assetCollection | |||
$domains | Collection |
||
$name | string | Name of the site | |
$nodeName | string | The first level of nodes of a site can be reached via a path like "/Sites/MySite/" where "MySite" is the nodeName. | |
$primaryDomain | |||
$siteResourcesPackageKey | string | ||
$state | integer | The site's state |
Method | Description | |
---|---|---|
__construct ( string $nodeName ) | Constructs this Site object | |
__toString ( ) : string | ||
emitSiteChanged ( ) : void | Internal signal | |
getActiveDomains ( ) : Collection |
||
getAssetCollection ( ) : |
||
getDomains ( ) : Collection |
||
getFirstActiveDomain ( ) : |
||
getName ( ) : string | Returns the name of this site | |
getNodeName ( ) : string | Returns the node name of this site | |
getPrimaryDomain ( ) : |
Returns the primary domain, if one has been defined. | |
getSiteResourcesPackageKey ( ) : string | Returns the key of a package containing the static resources for this site. | |
getState ( ) : integer | Returns the state of this site | |
hasActiveDomains ( ) : boolean | ||
isOffline ( ) : boolean | ||
isOnline ( ) : boolean | ||
onPostFlush ( ) : void | Internal event handler to forward site changes to the "siteChanged" signal | |
setAssetCollection ( |
||
setDomains ( Collection |
||
setName ( string $name ) : void | Sets the name for this site | |
setNodeName ( string $nodeName ) : void | Sets the node name for this site | |
setPrimaryDomain ( |
Sets (and adds if necessary) the primary domain of this site. | |
setSiteResourcesPackageKey ( string $packageKey ) : void | Sets the key of a package containing the static resources for this site. | |
setState ( integer $state ) : void | Sets the state for this site |
public __construct ( string $nodeName ) | ||
$nodeName | string | Node name of this site in the content repository |
public getAssetCollection ( ) : |
||
return |
public getFirstActiveDomain ( ) : |
||
return |
public getNodeName ( ) : string | ||
return | string | The node name |
public getPrimaryDomain ( ) : |
||
return | The primary domain or NULL |
public getSiteResourcesPackageKey ( ) : string | ||
return | string | The package key |
public hasActiveDomains ( ) : boolean | ||
return | boolean | TRUE if the site has at least one active domain assigned |
public onPostFlush ( ) : void | ||
return | void |
public setAssetCollection ( |
||
$assetCollection | ||
return | void |
public setDomains ( Collection |
||
$domains | Collection |
|
return | void |
public setNodeName ( string $nodeName ) : void | ||
$nodeName | string | The site node name |
return | void |
public setPrimaryDomain ( |
||
$domain | The domain | |
return | void |
public setSiteResourcesPackageKey ( string $packageKey ) : void | ||
$packageKey | string | The package key |
return | void |
protected AssetCollection,Neos\Media\Domain\Model $assetCollection | ||
return |
protected string $nodeName | ||
return | string |
protected Domain,Neos\Neos\Domain\Model $primaryDomain | ||
return |
protected string $siteResourcesPackageKey | ||
return | string |