Property | Type | Description | |
---|---|---|---|
$currentDomain | |||
$currentSite | |||
$currentSiteNode | Neos\ContentRepository\Domain\Model\NodeInterface | ||
$interfaceRenderModeService | |||
$privilegeManager | Neos\Flow\Security\Authorization\PrivilegeManagerInterface |
Method | Description | |
---|---|---|
__construct ( string $workspaceName, DateTimeInterface $currentDateTime, array $dimensions, array $targetDimensions, boolean $invisibleContentShown, boolean $removedContentShown, boolean $inaccessibleContentShown, |
Creates a new Content Context object. | |
getCurrentDomain ( ) : |
Returns the current domain from this frontend context | |
getCurrentRenderingMode ( ) : |
||
getCurrentSite ( ) : |
Returns the current site from this frontend context | |
getCurrentSiteNode ( ) : Neos\ContentRepository\Domain\Model\NodeInterface | Returns the node of the current site. | |
getProperties ( ) : array | Returns the properties of this context. | |
isInBackend ( ) : boolean | Returns TRUE while rendering backend (not live workspace and access to backend granted), FALSE otherwise | |
isLive ( ) : boolean | Returns TRUE if current context is live workspace, FALSE otherwise |
Method | Description | |
---|---|---|
hasAccessToBackend ( ) : boolean | Is access to the neos backend granted by current authentications. |
public __construct ( string $workspaceName, DateTimeInterface $currentDateTime, array $dimensions, array $targetDimensions, boolean $invisibleContentShown, boolean $removedContentShown, boolean $inaccessibleContentShown, |
||
$workspaceName | string | Name of the current workspace |
$currentDateTime | DateTimeInterface | The current date and time |
$dimensions | array | Array of dimensions with array of ordered values |
$targetDimensions | array | Array of dimensions used when creating / modifying content |
$invisibleContentShown | boolean | If invisible content should be returned in query results |
$removedContentShown | boolean | If removed content should be returned in query results |
$inaccessibleContentShown | boolean | If inaccessible content should be returned in query results |
$currentSite | The current Site object | |
$currentDomain | The current Domain object |
public getCurrentDomain ( ) : |
||
return | The current domain |
public getCurrentRenderingMode ( ) : |
||
return |
public getCurrentSite ( ) : |
||
return | The current site |
public getCurrentSiteNode ( ) : Neos\ContentRepository\Domain\Model\NodeInterface | ||
return | Neos\ContentRepository\Domain\Model\NodeInterface |
public getProperties ( ) : array | ||
return | array |
protected hasAccessToBackend ( ) : boolean | ||
return | boolean |
public isInBackend ( ) : boolean | ||
return | boolean |
protected Domain,Neos\Neos\Domain\Model $currentDomain | ||
return |
protected Site,Neos\Neos\Domain\Model $currentSite | ||
return |
protected NodeInterface,Neos\ContentRepository\Domain\Model $currentSiteNode | ||
return | Neos\ContentRepository\Domain\Model\NodeInterface |
protected UserInterfaceModeService,Neos\Neos\Domain\Service $interfaceRenderModeService | ||
return |