Свойство | Тип | Описание | |
---|---|---|---|
$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 |
Метод | Описание | |
---|---|---|
__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 ( ) : |
||
Результат |
public getFirstActiveDomain ( ) : |
||
Результат |
public getNodeName ( ) : string | ||
Результат | string | The node name |
public getPrimaryDomain ( ) : |
||
Результат | The primary domain or NULL |
public getSiteResourcesPackageKey ( ) : string | ||
Результат | string | The package key |
public hasActiveDomains ( ) : boolean | ||
Результат | boolean | TRUE if the site has at least one active domain assigned |
public onPostFlush ( ) : void | ||
Результат | void |
public setAssetCollection ( |
||
$assetCollection | ||
Результат | void |
public setDomains ( Collection |
||
$domains | Collection |
|
Результат | void |
public setNodeName ( string $nodeName ) : void | ||
$nodeName | string | The site node name |
Результат | void |
public setPrimaryDomain ( |
||
$domain | The domain | |
Результат | void |
public setSiteResourcesPackageKey ( string $packageKey ) : void | ||
$packageKey | string | The package key |
Результат | void |
protected AssetCollection,Neos\Media\Domain\Model $assetCollection | ||
Результат |
protected string $nodeName | ||
Результат | string |
protected Domain,Neos\Neos\Domain\Model $primaryDomain | ||
Результат |
protected string $siteResourcesPackageKey | ||
Результат | string |