PHP Class Neos\Neos\Controller\Service\WorkspacesController

Inheritance: extends Neos\Flow\Mvc\Controller\ActionController
Show file Open project: neos/neos-development-collection

Protected Properties

Property 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

Public Methods

Method 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 method

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

indexAction() public method

Shows a list of existing workspaces
public indexAction ( ) : string
return string

initializeUpdateAction() public method

Configure property mapping for the updateAction
public initializeUpdateAction ( ) : void
return void

showAction() public method

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

updateAction() public method

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

Property Details

$supportedMediaTypes protected 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
return array

$userService protected property

protected UserService,Neos\Neos\Domain\Service $userService
return Neos\Neos\Domain\Service\UserService

$viewFormatToObjectNameMap protected property

protected array $viewFormatToObjectNameMap
return array

$workspaceRepository protected property

protected WorkspaceRepository,Neos\ContentRepository\Domain\Repository $workspaceRepository
return Neos\ContentRepository\Domain\Repository\WorkspaceRepository