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

Public Member Functions

 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.

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

Definition at line 34 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 70 of file AjaxDispatcher.php.

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

◆ dispatch()

TYPO3\CMS\Workspaces\Controller\AjaxDispatcher::dispatch ( ServerRequestInterface  $request)

Member Data Documentation

◆ $classMap

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

Definition at line 36 of file AjaxDispatcher.php.