PHP Класс Neos\Neos\Service\Controller\WorkspaceController

Наследование: extends AbstractServiceController
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$defaultViewObjectName string
$nodeDataRepository Neos\ContentRepository\Domain\Repository\NodeDataRepository
$propertyMapper Neos\Flow\Property\PropertyMapper
$propertyMappingConfigurationBuilder Neos\Flow\Property\PropertyMappingConfigurationBuilder
$publishingService Neos\Neos\Service\PublishingService
$view Neos\Neos\Service\View\NodeView
$workspaceRepository Neos\ContentRepository\Domain\Repository\WorkspaceRepository

Открытые методы

Метод Описание
discardAllAction ( Workspace $workspace ) : void Discard everything in the workspace with the given workspace name
discardNodeAction ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : void Discards the given node
discardNodesAction ( array $nodes ) : void Discards the given nodes
getWorkspaceWideUnpublishedNodesAction ( Workspace $workspace ) : void Get every unpublished node in the workspace with the given workspace name
publishAllAction ( string $sourceWorkspaceName, string $targetWorkspaceName ) : void Publish everything in the workspace with the given workspace name
publishNodeAction ( Neos\ContentRepository\Domain\Model\NodeInterface $node, string $targetWorkspaceName = null ) : void Publishes the given node to the specified targetWorkspace
publishNodesAction ( array $nodes, string $targetWorkspaceName = null ) : void Publishes the given nodes to the specified targetWorkspace

Защищенные методы

Метод Описание
initializeAction ( ) : void

Описание методов

discardAllAction() публичный Метод

Discard everything in the workspace with the given workspace name
public discardAllAction ( Workspace $workspace ) : void
$workspace Neos\ContentRepository\Domain\Model\Workspace
Результат void

discardNodeAction() публичный Метод

Discards the given node
public discardNodeAction ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : void
$node Neos\ContentRepository\Domain\Model\NodeInterface
Результат void

discardNodesAction() публичный Метод

Discards the given nodes
public discardNodesAction ( array $nodes ) : void
$nodes array
Результат void

getWorkspaceWideUnpublishedNodesAction() публичный Метод

Get every unpublished node in the workspace with the given workspace name
public getWorkspaceWideUnpublishedNodesAction ( Workspace $workspace ) : void
$workspace Neos\ContentRepository\Domain\Model\Workspace
Результат void

initializeAction() защищенный Метод

protected initializeAction ( ) : void
Результат void

publishAllAction() публичный Метод

Publish everything in the workspace with the given workspace name
public publishAllAction ( string $sourceWorkspaceName, string $targetWorkspaceName ) : void
$sourceWorkspaceName string Name of the source workspace containing the content to publish
$targetWorkspaceName string Name of the target workspace the content should be published to
Результат void

publishNodeAction() публичный Метод

Publishes the given node to the specified targetWorkspace
public publishNodeAction ( Neos\ContentRepository\Domain\Model\NodeInterface $node, string $targetWorkspaceName = null ) : void
$node Neos\ContentRepository\Domain\Model\NodeInterface
$targetWorkspaceName string
Результат void

publishNodesAction() публичный Метод

Publishes the given nodes to the specified targetWorkspace
public publishNodesAction ( array $nodes, string $targetWorkspaceName = null ) : void
$nodes array
$targetWorkspaceName string
Результат void

Описание свойств

$defaultViewObjectName защищенное свойство

protected string $defaultViewObjectName
Результат string

$nodeDataRepository защищенное свойство

protected NodeDataRepository,Neos\ContentRepository\Domain\Repository $nodeDataRepository
Результат Neos\ContentRepository\Domain\Repository\NodeDataRepository

$propertyMapper защищенное свойство

protected PropertyMapper,Neos\Flow\Property $propertyMapper
Результат Neos\Flow\Property\PropertyMapper

$propertyMappingConfigurationBuilder защищенное свойство

protected PropertyMappingConfigurationBuilder,Neos\Flow\Property $propertyMappingConfigurationBuilder
Результат Neos\Flow\Property\PropertyMappingConfigurationBuilder

$publishingService защищенное свойство

protected PublishingService,Neos\Neos\Service $publishingService
Результат Neos\Neos\Service\PublishingService

$view защищенное свойство

protected NodeView,Neos\Neos\Service\View $view
Результат Neos\Neos\Service\View\NodeView

$workspaceRepository защищенное свойство

protected WorkspaceRepository,Neos\ContentRepository\Domain\Repository $workspaceRepository
Результат Neos\ContentRepository\Domain\Repository\WorkspaceRepository