Свойство | Тип | Описание | |
---|---|---|---|
$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 |
public indexAction ( ) : void | ||
Результат | void |
protected initializeUpdateAction ( ) : void | ||
Результат | void |
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 | ||
Результат |