Свойство | Тип | Описание | |
---|---|---|---|
$contentDimensionPresetSource | Neos\ContentRepository\Domain\Service\ContentDimensionPresetSourceInterface | ||
$contextFactory | Neos\ContentRepository\Domain\Service\ContextFactoryInterface | ||
$nodeDataRepository | |||
$nodeFactory | |||
$workspaceRepository |
Метод | Описание | |
---|---|---|
discardAllNodes ( |
Discards all unpublished nodes of the given workspace. | |
discardNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : void | Discards the given node. | |
discardNodes ( array $nodes ) : void | Discards the given nodes. | |
emitNodeDiscarded ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : void | Signals that a node has been discarded. | |
emitNodePublished ( Neos\ContentRepository\Domain\Model\NodeInterface $node, |
Signals that a node has been published. | |
getUnpublishedNodes ( |
Returns a list of nodes contained in the given workspace which are not yet published | |
getUnpublishedNodesCount ( |
Returns the number of unpublished nodes contained in the given workspace | |
publishNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node, |
Publishes the given node to the specified target workspace. If no workspace is specified, the source workspace's base workspace is assumed. | |
publishNodes ( array $nodes, |
Publishes the given nodes to the specified target workspace. If no workspace is specified, the source workspace's base workspace is assumed. |
Метод | Описание | |
---|---|---|
createContext ( |
Creates a new content context based on the given workspace and the NodeData object. | |
doDiscardNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node, array &$alreadyDiscardedNodeIdentifiers = [] ) : void | Method which does the actual work of discarding, includes a protection against endless recursions and multiple discarding of the same node. | |
sortNodesForPublishing ( array $nodes ) : array | Sort an unsorted list of nodes in a publishable order |
protected createContext ( |
||
$workspace | Workspace for the new context | |
$dimensionValues | array | The dimension values for the new context |
$contextProperties | array | Additional pre-defined context properties |
Результат |
public discardAllNodes ( |
||
$workspace | The workspace to flush, can't be the live workspace | |
Результат | void |
public discardNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : void | ||
$node | Neos\ContentRepository\Domain\Model\NodeInterface | The node to discard |
Результат | void |
public discardNodes ( array $nodes ) : void | ||
$nodes | array | |
Результат | void |
protected doDiscardNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node, array &$alreadyDiscardedNodeIdentifiers = [] ) : void | ||
$node | Neos\ContentRepository\Domain\Model\NodeInterface | The node to discard |
$alreadyDiscardedNodeIdentifiers | array | |
Результат | void |
public emitNodeDiscarded ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : void | ||
$node | Neos\ContentRepository\Domain\Model\NodeInterface | |
Результат | void |
public emitNodePublished ( Neos\ContentRepository\Domain\Model\NodeInterface $node, |
||
$node | Neos\ContentRepository\Domain\Model\NodeInterface | |
$targetWorkspace | ||
Результат | void |
public getUnpublishedNodes ( |
||
$workspace | ||
Результат | array<\Neos\ContentRepository\Domain\Model\NodeInterface> |
public getUnpublishedNodesCount ( |
||
$workspace | ||
Результат | integer |
public publishNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node, |
||
$node | Neos\ContentRepository\Domain\Model\NodeInterface | |
$targetWorkspace | If not set the base workspace is assumed to be the publishing target | |
Результат | void |
public publishNodes ( array $nodes, |
||
$nodes | array | |
$targetWorkspace | If not set the base workspace is assumed to be the publishing target | |
Результат | void |
protected sortNodesForPublishing ( array $nodes ) : array | ||
$nodes | array | Unsorted list of nodes (unpublished nodes) |
Результат | array | Sorted list of nodes for publishing |
protected ContentDimensionPresetSourceInterface,Neos\ContentRepository\Domain\Service $contentDimensionPresetSource | ||
Результат | Neos\ContentRepository\Domain\Service\ContentDimensionPresetSourceInterface |
protected ContextFactoryInterface,Neos\ContentRepository\Domain\Service $contextFactory | ||
Результат | Neos\ContentRepository\Domain\Service\ContextFactoryInterface |
protected NodeDataRepository,Neos\ContentRepository\Domain\Repository $nodeDataRepository | ||
Результат |
protected NodeFactory,Neos\ContentRepository\Domain\Factory $nodeFactory | ||
Результат |