TYPO3  7.6
Public Member Functions | Protected Member Functions | List of all members
AjaxController Class Reference

Public Member Functions

 switchWorkspaceAction (ServerRequestInterface $request, ResponseInterface $response)
 

Protected Member Functions

 getBackendUser ()
 

Detailed Description

Implements the AJAX functionality for the various asynchronous calls

Definition at line 24 of file workspaces/Classes/Controller/AjaxController.php.

Member Function Documentation

getBackendUser ( )
protected
Returns

Definition at line 74 of file workspaces/Classes/Controller/AjaxController.php.

References $GLOBALS.

Referenced by AjaxController\switchWorkspaceAction().

switchWorkspaceAction ( ServerRequestInterface  $request,
ResponseInterface  $response 
)

Sets the TYPO3 Backend context to a certain workspace, called by the Backend toolbar menu

Parameters
ServerRequestInterface$request
ResponseInterface$response
Returns
ResponseInterface

Definition at line 34 of file workspaces/Classes/Controller/AjaxController.php.

References $response, AjaxController\getBackendUser(), MessageInterface\getBody(), ServerRequestInterface\getParsedBody(), ServerRequestInterface\getQueryParams(), BackendUtility\getRecord(), BackendUtility\getRecordWSOL(), and WorkspaceService\getWorkspaceTitle().