AjaxDispatcher

Implements the AJAX functionality for the various asynchronous calls.

Internal

This is a specific Backend Controller implementation and is not considered part of the Public TYPO3 API.

Tags
todo:

The entire workspace modul ajax routing is a mess and needs a rewrite.

Table of Contents

Properties

$classMap  : array<string|int, mixed>
$scopedAllowedMethods  : array<string|int, mixed>

Methods

dispatch()  : ResponseInterface
preview()  : 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]

$scopedAllowedMethods

protected array<string|int, mixed> $scopedAllowedMethods = ['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

Search results