OpenDocumentController
Controller for documents processing
Contains AJAX endpoints of the open docs toolbar item click actions
This class is a specific Backend controller implementation and is not part of the TYPO3's Core API.
Table of Contents
Properties
Methods
- __construct() : mixed
- Set up dependencies
- closeDocument() : ResponseInterface
- Closes a document and returns the updated menu
- renderMenu() : ResponseInterface
- Renders the menu so that it can be returned as response to an AJAX call
Properties
$documents
protected
OpenDocumentService
$documents
$toolbarItem
protected
OpendocsToolbarItem
$toolbarItem
Methods
__construct()
Set up dependencies
public
__construct() : mixed
closeDocument()
Closes a document and returns the updated menu
public
closeDocument(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfacerenderMenu()
Renders the menu so that it can be returned as response to an AJAX call
public
renderMenu() : ResponseInterface