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
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

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(ServerRequestInterface $request) : ResponseInterface

Parameters

$request : ServerRequestInterface

Return values

ResponseInterface
On this page