프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$contentDimensionPresetSource | Neos\Neos\Domain\Service\ContentDimensionPresetSourceInterface | ||
$contextFactory | |||
$propertyMapper | |||
$propertyMappingConfigurationBuilder | |||
$publishingService | |||
$securityContext | |||
$siteRepository | |||
$translator | |||
$userService | |||
$workspaceRepository |
메소드 | 설명 | |
---|---|---|
createAction ( string $title, |
Create a workspace | |
deleteAction ( |
Delete a workspace | |
discardNodeAction ( Neos\ContentRepository\Domain\Model\NodeInterface $node, |
Discard a a single node | |
discardWorkspaceAction ( |
Discards content of the whole workspace | |
editAction ( |
Edit a workspace | |
indexAction ( ) : void | Display a list of unpublished content | |
newAction ( ) : void | ||
publishNodeAction ( Neos\ContentRepository\Domain\Model\NodeInterface $node, |
Publish a single node | |
publishOrDiscardNodesAction ( array $nodes, string $action, |
Publishes or discards the given nodes | |
publishWorkspaceAction ( |
Publishes the whole workspace | |
rebaseAndRedirectAction ( Neos\ContentRepository\Domain\Model\NodeInterface $targetNode, |
Rebase the current users personal workspace onto the given $targetWorkspace and then redirects to the $targetNode in the content module. | |
showAction ( |
||
updateAction ( |
Update a workspace |
메소드 | 설명 | |
---|---|---|
computeChangesCount ( |
Computes the number of added, changed and removed nodes for the given workspace | |
computeSiteChanges ( |
Builds an array of changes for sites in the given workspace | |
getOriginalNode ( Neos\ContentRepository\Domain\Model\NodeInterface $modifiedNode ) : Neos\ContentRepository\Domain\Model\NodeInterface | Retrieves the given node's corresponding node in the base workspace (that is, which would be overwritten if the given node would be published) | |
getPropertyLabel ( string $propertyName, Neos\ContentRepository\Domain\Model\NodeInterface $changedNode ) : string | Tries to determine a label for the specified property | |
initializeAction ( ) : void | ||
initializeUpdateAction ( ) : void | ||
postProcessDiffArray ( array &$diffArray ) : void | A workaround for some missing functionality in the Diff Renderer: | |
prepareBaseWorkspaceOptions ( |
Creates an array of workspace names and their respective titles which are possible base workspaces for other workspaces. | |
prepareOwnerOptions ( ) : array | Creates an array of user names and their respective labels which are possible owners for a workspace. | |
renderContentChanges ( Neos\ContentRepository\Domain\Model\NodeInterface $changedNode ) : array | Renders the difference between the original and the changed content of the given node and returns it, along with meta information, in an array. | |
renderSlimmedDownContent ( mixed $propertyValue ) : string | Renders a slimmed down representation of a property of the given node. The output will be HTML, but does not contain any markup from the original content. |
protected computeChangesCount ( |
||
$selectedWorkspace | ||
리턴 | array |
protected computeSiteChanges ( |
||
$selectedWorkspace | ||
리턴 | array |
public createAction ( string $title, |
||
$title | string | Human friendly title of the workspace, for example "Christmas Campaign" |
$baseWorkspace | Workspace the new workspace should be based on | |
$visibility | string | Visibility of the new workspace, must be either "internal" or "shared" |
$description | string | A description explaining the purpose of the new workspace |
리턴 | void |
public deleteAction ( |
||
$workspace | A workspace to delete | |
리턴 | void |
public discardNodeAction ( Neos\ContentRepository\Domain\Model\NodeInterface $node, |
||
$node | Neos\ContentRepository\Domain\Model\NodeInterface | |
$selectedWorkspace |
public discardWorkspaceAction ( |
||
$workspace | ||
리턴 | void |
public editAction ( |
||
$workspace | ||
리턴 | void |
protected getOriginalNode ( Neos\ContentRepository\Domain\Model\NodeInterface $modifiedNode ) : Neos\ContentRepository\Domain\Model\NodeInterface | ||
$modifiedNode | Neos\ContentRepository\Domain\Model\NodeInterface | |
리턴 | Neos\ContentRepository\Domain\Model\NodeInterface |
protected getPropertyLabel ( string $propertyName, Neos\ContentRepository\Domain\Model\NodeInterface $changedNode ) : string | ||
$propertyName | string | |
$changedNode | Neos\ContentRepository\Domain\Model\NodeInterface | |
리턴 | string |
protected postProcessDiffArray ( array &$diffArray ) : void | ||
$diffArray | array | |
리턴 | void |
protected prepareBaseWorkspaceOptions ( |
||
$excludedWorkspace | If set, this workspace will be excluded from the list of returned workspaces | |
리턴 | array |
protected prepareOwnerOptions ( ) : array | ||
리턴 | array |
public publishNodeAction ( Neos\ContentRepository\Domain\Model\NodeInterface $node, |
||
$node | Neos\ContentRepository\Domain\Model\NodeInterface | |
$selectedWorkspace |
public publishOrDiscardNodesAction ( array $nodes, string $action, |
||
$nodes | array | <\Neos\ContentRepository\Domain\Model\NodeInterface> $nodes |
$action | string | |
$selectedWorkspace |
public publishWorkspaceAction ( |
||
$workspace | ||
리턴 | void |
public rebaseAndRedirectAction ( Neos\ContentRepository\Domain\Model\NodeInterface $targetNode, |
||
$targetNode | Neos\ContentRepository\Domain\Model\NodeInterface | |
$targetWorkspace | ||
리턴 | void |
protected renderContentChanges ( Neos\ContentRepository\Domain\Model\NodeInterface $changedNode ) : array | ||
$changedNode | Neos\ContentRepository\Domain\Model\NodeInterface | |
리턴 | array |
protected renderSlimmedDownContent ( mixed $propertyValue ) : string | ||
$propertyValue | mixed | |
리턴 | string |
public showAction ( |
||
$workspace | ||
리턴 | void |
public updateAction ( |
||
$workspace | A workspace to update | |
리턴 | void |
protected ContentDimensionPresetSourceInterface,Neos\Neos\Domain\Service $contentDimensionPresetSource | ||
리턴 | Neos\Neos\Domain\Service\ContentDimensionPresetSourceInterface |
protected ContentContextFactory,Neos\Neos\Domain\Service $contextFactory | ||
리턴 |
protected PropertyMapper,Neos\Flow\Property $propertyMapper | ||
리턴 |
protected PropertyMappingConfigurationBuilder,Neos\Flow\Property $propertyMappingConfigurationBuilder | ||
리턴 |
protected PublishingService,Neos\Neos\Service $publishingService | ||
리턴 |
protected Context,Neos\Flow\Security $securityContext | ||
리턴 |
protected SiteRepository,Neos\Neos\Domain\Repository $siteRepository | ||
리턴 |
protected Translator,Neos\Flow\I18n $translator | ||
리턴 |
protected UserService,Neos\Neos\Domain\Service $userService | ||
리턴 |