AjaxDispatcher
Implements the AJAX functionality for the various asynchronous calls.
This is a specific Backend Controller implementation and is not considered part of the Public TYPO3 API.
Attributes
- #[AsController]
Table of Contents
Properties
- $classMap : array<string|int, mixed>
- $remoteServer : RemoteServer
- $workspaceRepository : WorkspaceRepository
- $workspaceStageRepository : WorkspaceStageRepository
Methods
- __construct() : mixed
- dispatch() : ResponseInterface
- buildResultFromResponse() : stdClass
Properties
$classMap
protected
array<string|int, mixed>
$classMap
= ['RemoteServer' => \TYPO3\CMS\Workspaces\Controller\Remote\RemoteServer::class, 'MassActions' => \TYPO3\CMS\Workspaces\Controller\Remote\MassActionHandler::class, 'Actions' => \TYPO3\CMS\Workspaces\Controller\Remote\ActionHandler::class]
$remoteServer
protected
RemoteServer
$remoteServer
$workspaceRepository
protected
WorkspaceRepository
$workspaceRepository
$workspaceStageRepository
protected
WorkspaceStageRepository
$workspaceStageRepository
Methods
__construct()
public
__construct(RemoteServer $remoteServer, WorkspaceRepository $workspaceRepository, WorkspaceStageRepository $workspaceStageRepository) : mixed
Parameters
- $remoteServer : RemoteServer
- $workspaceRepository : WorkspaceRepository
- $workspaceStageRepository : WorkspaceStageRepository
dispatch()
public
dispatch(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfacebuildResultFromResponse()
protected
buildResultFromResponse(mixed $responseFromMethod, stdClass $call) : stdClass
Parameters
- $responseFromMethod : mixed
- $call : stdClass