TreeController

Read onlyYes

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.

Attributes
#[AsController]

Table of Contents

Properties

$eventDispatcher  : EventDispatcherInterface
$iconFactory  : IconFactory
$resourceFactory  : ResourceFactory
$treeProvider  : FileStorageTreeProvider

Methods

__construct()  : mixed
fetchDataAction()  : ResponseInterface
Loads data for the first time, or when expanding a folder.
fetchRootlineAction()  : ResponseInterface
Returns JSON representing page rootline
filterDataAction()  : ResponseInterface
Used when the search / filter is used.
getBackendUser()  : BackendUserAuthentication
getLanguageService()  : LanguageService
getPreparedItemsForOutput()  : array<string|int, mixed>
Adds information for the JSON result to be rendered. Additionally, dispatches event for modification.

Properties

$eventDispatcher

protected EventDispatcherInterface $eventDispatcher

Methods

fetchDataAction()

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

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

fetchRootlineAction()

Returns JSON representing page rootline

public fetchRootlineAction(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

getPreparedItemsForOutput()

Adds information for the JSON result to be rendered. Additionally, dispatches event for modification.

protected getPreparedItemsForOutput(ServerRequestInterface $request, array<string|int, mixed> $items) : array<string|int, mixed>
Parameters
$request : ServerRequestInterface
$items : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results