‪TYPO3CMS  10.4
TYPO3\CMS\Workspaces\Controller\AjaxDispatcher Class Reference

Public Member Functions

ResponseInterface dispatch (ServerRequestInterface $request)
 

Protected Member Functions

stdClass buildResultFromResponse ($responseFromMethod, $call)
 

Protected Attributes

array $classMap
 

Detailed Description

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.

Definition at line 30 of file AjaxDispatcher.php.

Member Function Documentation

◆ buildResultFromResponse()

stdClass TYPO3\CMS\Workspaces\Controller\AjaxDispatcher::buildResultFromResponse (   $responseFromMethod,
  $call 
)
protected
Parameters
mixed$responseFromMethod
\stdClass$call
Returns
‪\stdClass

Definition at line 67 of file AjaxDispatcher.php.

Referenced by TYPO3\CMS\Workspaces\Controller\AjaxDispatcher\dispatch().

◆ dispatch()

ResponseInterface TYPO3\CMS\Workspaces\Controller\AjaxDispatcher::dispatch ( ServerRequestInterface  $request)
Parameters
ServerRequestInterface$request
Returns
‪ResponseInterface

Definition at line 44 of file AjaxDispatcher.php.

References TYPO3\CMS\Workspaces\Controller\AjaxDispatcher\buildResultFromResponse().

Member Data Documentation

◆ $classMap

array TYPO3\CMS\Workspaces\Controller\AjaxDispatcher::$classMap
protected
Initial value:
= array(
'RemoteServer' => RemoteServer::class,
'MassActions' => MassActionHandler::class,
'Actions' => ActionHandler::class
)

Definition at line 34 of file AjaxDispatcher.php.