프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$nodeService | Neos\ContentRepository\Domain\Service\NodeServiceInterface | ||
$nodeTypeManager | |||
$nodeUriPathSegmentGenerator |
메소드 | 설명 | |
---|---|---|
copy ( Neos\ContentRepository\Domain\Model\NodeInterface $node, Neos\ContentRepository\Domain\Model\NodeInterface $targetNode, string $position, string $nodeName = null ) : Neos\ContentRepository\Domain\Model\NodeInterface | Copy $node before, into or after $targetNode | |
create ( Neos\ContentRepository\Domain\Model\NodeInterface $referenceNode, array $nodeData, string $position ) : Neos\ContentRepository\Domain\Model\NodeInterface | Helper method for creating a new node. | |
move ( Neos\ContentRepository\Domain\Model\NodeInterface $node, Neos\ContentRepository\Domain\Model\NodeInterface $targetNode, string $position ) : Neos\ContentRepository\Domain\Model\NodeInterface | Move $node before, into or after $targetNode |
메소드 | 설명 | |
---|---|---|
getDesignatedParentNode ( Neos\ContentRepository\Domain\Model\NodeInterface $targetNode, string $position ) : Neos\ContentRepository\Domain\Model\NodeInterface |
public copy ( Neos\ContentRepository\Domain\Model\NodeInterface $node, Neos\ContentRepository\Domain\Model\NodeInterface $targetNode, string $position, string $nodeName = null ) : Neos\ContentRepository\Domain\Model\NodeInterface | ||
$node | Neos\ContentRepository\Domain\Model\NodeInterface | the node to be copied |
$targetNode | Neos\ContentRepository\Domain\Model\NodeInterface | the target node to be copied "to", see $position |
$position | string | where the node should be added in relation to $targetNode (allowed: before, into, after) |
$nodeName | string | optional node name (if empty random node name will be generated) |
리턴 | Neos\ContentRepository\Domain\Model\NodeInterface | The copied node |
public create ( Neos\ContentRepository\Domain\Model\NodeInterface $referenceNode, array $nodeData, string $position ) : Neos\ContentRepository\Domain\Model\NodeInterface | ||
$referenceNode | Neos\ContentRepository\Domain\Model\NodeInterface | |
$nodeData | array | |
$position | string | |
리턴 | Neos\ContentRepository\Domain\Model\NodeInterface |
protected getDesignatedParentNode ( Neos\ContentRepository\Domain\Model\NodeInterface $targetNode, string $position ) : Neos\ContentRepository\Domain\Model\NodeInterface | ||
$targetNode | Neos\ContentRepository\Domain\Model\NodeInterface | |
$position | string | |
리턴 | Neos\ContentRepository\Domain\Model\NodeInterface |
public move ( Neos\ContentRepository\Domain\Model\NodeInterface $node, Neos\ContentRepository\Domain\Model\NodeInterface $targetNode, string $position ) : Neos\ContentRepository\Domain\Model\NodeInterface | ||
$node | Neos\ContentRepository\Domain\Model\NodeInterface | |
$targetNode | Neos\ContentRepository\Domain\Model\NodeInterface | |
$position | string | where the node should be added (allowed: before, into, after) |
리턴 | Neos\ContentRepository\Domain\Model\NodeInterface | The same node given as first argument |
protected NodeServiceInterface,Neos\ContentRepository\Domain\Service $nodeService | ||
리턴 | Neos\ContentRepository\Domain\Service\NodeServiceInterface |
protected NodeTypeManager,Neos\ContentRepository\Domain\Service $nodeTypeManager | ||
리턴 |