PHP Class Neos\Neos\Controller\Service\WorkspacesController

Inheritance: extends Neos\Flow\Mvc\Controller\ActionController
Afficher le fichier Open project: neos/neos-development-collection

Protected Properties

Свойство Type Description
$supportedMediaTypes array A list of IANA media types which are supported by this controller
$userService Neos\Neos\Domain\Service\UserService
$viewFormatToObjectNameMap array
$workspaceRepository Neos\ContentRepository\Domain\Repository\WorkspaceRepository

Méthodes publiques

Méthode Description
createAction ( string $workspaceName, Workspace $baseWorkspace, string $ownerAccountIdentifier = null ) : string Create a workspace
indexAction ( ) : string Shows a list of existing workspaces
initializeUpdateAction ( ) : void Configure property mapping for the updateAction
showAction ( Workspace $workspace ) : string Shows details of the given workspace
updateAction ( Workspace $workspace ) : void Updates a workspace

Method Details

createAction() public méthode

Create a workspace
public createAction ( string $workspaceName, Workspace $baseWorkspace, string $ownerAccountIdentifier = null ) : string
$workspaceName string
$baseWorkspace Neos\ContentRepository\Domain\Model\Workspace
$ownerAccountIdentifier string
Résultat string

indexAction() public méthode

Shows a list of existing workspaces
public indexAction ( ) : string
Résultat string

initializeUpdateAction() public méthode

Configure property mapping for the updateAction
public initializeUpdateAction ( ) : void
Résultat void

showAction() public méthode

Shows details of the given workspace
public showAction ( Workspace $workspace ) : string
$workspace Neos\ContentRepository\Domain\Model\Workspace
Résultat string

updateAction() public méthode

Updates a workspace
public updateAction ( Workspace $workspace ) : void
$workspace Neos\ContentRepository\Domain\Model\Workspace The updated workspace
Résultat void

Property Details

$supportedMediaTypes protected_oe property

A list of IANA media types which are supported by this controller
See also: http://www.iana.org/assignments/media-types/index.html
protected array $supportedMediaTypes
Résultat array

$userService protected_oe property

protected UserService,Neos\Neos\Domain\Service $userService
Résultat Neos\Neos\Domain\Service\UserService

$viewFormatToObjectNameMap protected_oe property

protected array $viewFormatToObjectNameMap
Résultat array

$workspaceRepository protected_oe property

protected WorkspaceRepository,Neos\ContentRepository\Domain\Repository $workspaceRepository
Résultat Neos\ContentRepository\Domain\Repository\WorkspaceRepository