OpenDocumentController

class \TYPO3\CMS\Opendocs\Controller\OpenDocumentController

Controller for documents processing

Contains AJAX endpoints of the open docs toolbar item click actions

Table of Contents

Properties

$documents  : OpenDocumentService
$toolbarItem  : OpendocsToolbarItem

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

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

ResponseInterface

renderMenu()

Renders the menu so that it can be returned as response to an AJAX call

public renderMenu() : ResponseInterface

Return values

ResponseInterface
On this page