‪TYPO3CMS  ‪main
TYPO3\CMS\Opendocs\Service\OpenDocumentService Class Reference

Public Member Functions

 getOpenDocuments ()
 
 getRecentDocuments ()
 
 closeDocument (string $identifier)
 
 closeAllDocuments ()
 

Protected Member Functions

 storeOpenDocuments (array $openDocuments)
 
 addToRecentDocuments (string $identifier, array $document)
 
 getBackendUser ()
 

Detailed Description

Access to open and recent documents

helper class

Definition at line 26 of file OpenDocumentService.php.

Member Function Documentation

◆ addToRecentDocuments()

TYPO3\CMS\Opendocs\Service\OpenDocumentService::addToRecentDocuments ( string  $identifier,
array  $document 
)
protected

◆ closeAllDocuments()

◆ closeDocument()

TYPO3\CMS\Opendocs\Service\OpenDocumentService::closeDocument ( string  $identifier)

Close a document and add it to the list of recent documents

Parameters
string$identifier‪a document identifier (MD5 hash)

Definition at line 56 of file OpenDocumentService.php.

References TYPO3\CMS\Webhooks\Message\$identifier, TYPO3\CMS\Opendocs\Service\OpenDocumentService\addToRecentDocuments(), TYPO3\CMS\Opendocs\Service\OpenDocumentService\getOpenDocuments(), and TYPO3\CMS\Opendocs\Service\OpenDocumentService\storeOpenDocuments().

◆ getBackendUser()

◆ getOpenDocuments()

TYPO3\CMS\Opendocs\Service\OpenDocumentService::getOpenDocuments ( )

◆ getRecentDocuments()

TYPO3\CMS\Opendocs\Service\OpenDocumentService::getRecentDocuments ( )

Get the list of recent documents for the current user

Definition at line 46 of file OpenDocumentService.php.

References TYPO3\CMS\Opendocs\Service\OpenDocumentService\getBackendUser().

Referenced by TYPO3\CMS\Opendocs\Service\OpenDocumentService\addToRecentDocuments().

◆ storeOpenDocuments()

TYPO3\CMS\Opendocs\Service\OpenDocumentService::storeOpenDocuments ( array  $openDocuments)
protected