AjaxController
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.
Table of Contents
Methods
- __construct() : mixed
- switchWorkspaceAction() : ResponseInterface
- Sets the TYPO3 Backend context to a certain workspace, called by the Backend toolbar menu
- getBackendUser() : BackendUserAuthentication
- getPageModuleName() : string
- Get the page module name. Either "web_layout" or custom module name from TSconfig. Also perform module access check.
Methods
__construct()
public
__construct(WorkspaceService $workspaceService, ModuleProvider $moduleProvider) : mixed
Parameters
- $workspaceService : WorkspaceService
- $moduleProvider : ModuleProvider
switchWorkspaceAction()
Sets the TYPO3 Backend context to a certain workspace, called by the Backend toolbar menu
public
switchWorkspaceAction(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfacegetBackendUser()
protected
getBackendUser() : BackendUserAuthentication
Return values
BackendUserAuthenticationgetPageModuleName()
Get the page module name. Either "web_layout" or custom module name from TSconfig. Also perform module access check.
protected
getPageModuleName() : string