TreeController

Controller providing data to the file storage tree.

Internal

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

Methods

fetchDataAction()

Loads data for the first time, or when expanding a folder.

public fetchDataAction(ServerRequestInterface $request) : ResponseInterface
Parameters
$request : ServerRequestInterface
Return values
ResponseInterface

filterDataAction()

Used when the search / filter is used.

public filterDataAction(ServerRequestInterface $request) : ResponseInterface
Parameters
$request : ServerRequestInterface
Tags
throws
Exception
Return values
ResponseInterface

prepareItemForOutput()

Adds information for the JSON result to be rendered.

protected prepareItemForOutput(array<string|int, mixed> $item) : FileTreeItem
Parameters
$item : array<string|int, mixed>
Return values
FileTreeItem

        
On this page

Search results