‪TYPO3CMS  11.5
TYPO3\CMS\Backend\Controller\FileStorage\TreeController Class Reference

Public Member Functions

 __construct (IconFactory $iconFactory=null)
 
ResponseInterface fetchDataAction (ServerRequestInterface $request)
 
ResponseInterface filterDataAction (ServerRequestInterface $request)
 

Protected Member Functions

array prepareItemForOutput (array $item)
 
 getBackendUser ()
 
 getLanguageService ()
 

Protected Attributes

IconFactory $iconFactory
 
FileStorageTreeProvider $treeProvider
 
ResourceFactory $resourceFactory
 

Detailed Description

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.

Definition at line 38 of file TreeController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Backend\Controller\FileStorage\TreeController::__construct ( IconFactory  $iconFactory = null)

Member Function Documentation

◆ fetchDataAction()

ResponseInterface TYPO3\CMS\Backend\Controller\FileStorage\TreeController::fetchDataAction ( ServerRequestInterface  $request)

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

Parameters
ServerRequestInterface$request
Returns
‪ResponseInterface

Definition at line 57 of file TreeController.php.

References TYPO3\CMS\Backend\Controller\FileStorage\TreeController\getBackendUser(), and TYPO3\CMS\Backend\Controller\FileStorage\TreeController\prepareItemForOutput().

◆ filterDataAction()

ResponseInterface TYPO3\CMS\Backend\Controller\FileStorage\TreeController::filterDataAction ( ServerRequestInterface  $request)

Used when the search / filter is used.

Parameters
ServerRequestInterface$request
Returns
‪ResponseInterface
Exceptions

Definition at line 81 of file TreeController.php.

References TYPO3\CMS\Backend\Controller\FileStorage\TreeController\getBackendUser(), TYPO3\CMS\Core\Resource\Folder\getIdentifier(), and TYPO3\CMS\Backend\Controller\FileStorage\TreeController\prepareItemForOutput().

◆ getBackendUser()

TYPO3\CMS\Backend\Controller\FileStorage\TreeController::getBackendUser ( )
protected

◆ getLanguageService()

TYPO3\CMS\Backend\Controller\FileStorage\TreeController::getLanguageService ( )
protected

◆ prepareItemForOutput()

array TYPO3\CMS\Backend\Controller\FileStorage\TreeController::prepareItemForOutput ( array  $item)
protected

Member Data Documentation

◆ $iconFactory

IconFactory TYPO3\CMS\Backend\Controller\FileStorage\TreeController::$iconFactory
protected

◆ $resourceFactory

ResourceFactory TYPO3\CMS\Backend\Controller\FileStorage\TreeController::$resourceFactory
protected

Definition at line 42 of file TreeController.php.

◆ $treeProvider

FileStorageTreeProvider TYPO3\CMS\Backend\Controller\FileStorage\TreeController::$treeProvider
protected

Definition at line 41 of file TreeController.php.