AjaxDispatcher

class \TYPO3\CMS\Workspaces\Controller\AjaxDispatcher

Implements the AJAX functionality for the various asynchronous calls.

Attributes

#[AsController]

Table of Contents

Properties

$classMap  : array
$remoteServer  : RemoteServer
$scopedAllowedMethods  : array
$workspaceRepository  : WorkspaceRepository
$workspaceStageRepository  : WorkspaceStageRepository

Methods

__construct()  : mixed
dispatch()  : ResponseInterface
preview()  : ResponseInterface
buildResultFromResponse()  : stdClass

Properties

$classMap

protected array $classMap = ['RemoteServer' => \TYPO3\CMS\Workspaces\Controller\Remote\R…
Show the full value['RemoteServer' => \TYPO3\CMS\Workspaces\Controller\Remote\RemoteServer::class, 'MassActions' => \TYPO3\CMS\Workspaces\Controller\Remote\MassActionHandler::class, 'Actions' => \TYPO3\CMS\Workspaces\Controller\Remote\ActionHandler::class]

$scopedAllowedMethods

protected array $scopedAllowedMethods = ['preview' => ['Actions' => ['discardStagesFromPage', 'sentC…
Show the full value['preview' => ['Actions' => ['discardStagesFromPage', 'sentCollectionToStage', 'sendPageToNextStage', 'sendPageToPreviousStage', 'updateStageChangeButtons']]]

Methods

dispatch()

public dispatch(ServerRequestInterface $request) : ResponseInterface

Parameters

$request : ServerRequestInterface

Return values

ResponseInterface

preview()

public preview(ServerRequestInterface $request) : ResponseInterface

Parameters

$request : ServerRequestInterface

Return values

ResponseInterface

buildResultFromResponse()

protected buildResultFromResponse(mixed $responseFromMethod, stdClass $call) : stdClass

Parameters

$responseFromMethod : mixed
$call : stdClass

Return values

stdClass
On this page