TreeController
Controller providing data to the file storage tree.
This class is a specific Backend controller implementation and is not considered part of the Public TYPO3 API.
Table of Contents
Properties
- $iconFactory : IconFactory
- $resourceFactory : ResourceFactory
- $treeProvider : FileStorageTreeProvider
Methods
- __construct() : mixed
- fetchDataAction() : ResponseInterface
- Loads data for the first time, or when expanding a folder.
- filterDataAction() : ResponseInterface
- Used when the search / filter is used.
- getBackendUser() : BackendUserAuthentication
- getLanguageService() : LanguageService
- prepareItemForOutput() : FileTreeItem
- Adds information for the JSON result to be rendered.
Properties
$iconFactory
protected
IconFactory
$iconFactory
$resourceFactory
protected
ResourceFactory
$resourceFactory
$treeProvider
protected
FileStorageTreeProvider
$treeProvider
Methods
__construct()
public
__construct([IconFactory|null $iconFactory = null ]) : mixed
Parameters
- $iconFactory : IconFactory|null = null
fetchDataAction()
Loads data for the first time, or when expanding a folder.
public
fetchDataAction(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfacefilterDataAction()
Used when the search / filter is used.
public
filterDataAction(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Tags
Return values
ResponseInterfacegetBackendUser()
protected
getBackendUser() : BackendUserAuthentication
Return values
BackendUserAuthenticationgetLanguageService()
protected
getLanguageService() : LanguageService
Return values
LanguageServiceprepareItemForOutput()
Adds information for the JSON result to be rendered.
protected
prepareItemForOutput(array<string|int, mixed> $item) : FileTreeItem
Parameters
- $item : array<string|int, mixed>