Свойство | Тип | Описание | |
---|---|---|---|
$contextFactory | Neos\ContentRepository\Domain\Service\ContextFactoryInterface | ||
$dimension | array | the dimension values for that event | |
$documentNodeIdentifier | string | the document node identifier on which the action took place. is equal to NodeIdentifier if the action happened on documentNodes | |
$nodeIdentifier | string | .. | |
$persistenceManager | Neos\Flow\Persistence\PersistenceManagerInterface | ||
$siteRepository | |||
$userService | |||
$workspaceName | string | the workspace name where the action took place |
Метод | Описание | |
---|---|---|
__toString ( ) : string | ||
getClosestAggregateNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : Neos\ContentRepository\Domain\Model\NodeInterface | Returns the closest aggregate node of the given node | |
getDocumentNode ( ) : Neos\ContentRepository\Domain\Model\NodeInterface | Returns the closest document node, if it can be resolved. | |
getDocumentNodeIdentifier ( ) : string | Return the node identifier of the closest parent document node related to this event | |
getNode ( ) : Neos\ContentRepository\Domain\Model\NodeInterface | Returns the node this even refers to, if it can be resolved. | |
getNodeIdentifier ( ) : string | Return the node identifier of the node this event relates to | |
getWorkspaceName ( ) : string | Return name of the workspace where the node event happened | |
isDocumentEvent ( ) | ||
setNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : void | Set the "context node" this operation was working on. | |
setWorkspaceName ( string $workspaceName ) : void | Override the workspace name. *MUST* be called after setNode(), else it won't have an effect. |
Метод | Описание | |
---|---|---|
getCurrentSite ( ) : null | object | Prevents invalid calls to the site respository in case the site data property is not available. |
public static getClosestAggregateNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : Neos\ContentRepository\Domain\Model\NodeInterface | ||
$node | Neos\ContentRepository\Domain\Model\NodeInterface | |
Результат | Neos\ContentRepository\Domain\Model\NodeInterface |
protected getCurrentSite ( ) : null | object | ||
Результат | null | object |
public getDocumentNode ( ) : Neos\ContentRepository\Domain\Model\NodeInterface | ||
Результат | Neos\ContentRepository\Domain\Model\NodeInterface |
public getDocumentNodeIdentifier ( ) : string | ||
Результат | string |
public getNode ( ) : Neos\ContentRepository\Domain\Model\NodeInterface | ||
Результат | Neos\ContentRepository\Domain\Model\NodeInterface |
public getNodeIdentifier ( ) : string | ||
Результат | string |
public getWorkspaceName ( ) : string | ||
Результат | string |
public setWorkspaceName ( string $workspaceName ) : void | ||
$workspaceName | string | |
Результат | void |
protected ContextFactoryInterface,Neos\ContentRepository\Domain\Service $contextFactory | ||
Результат | Neos\ContentRepository\Domain\Service\ContextFactoryInterface |
protected array $dimension | ||
Результат | array |
protected string $documentNodeIdentifier | ||
Результат | string |
protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager | ||
Результат | Neos\Flow\Persistence\PersistenceManagerInterface |
protected SiteRepository,Neos\Neos\Domain\Repository $siteRepository | ||
Результат |
protected UserService,Neos\Neos\Service $userService | ||
Результат |
protected string $workspaceName | ||
Результат | string |