‪TYPO3CMS  10.4
TYPO3\CMS\Core\Resource\Utility\ListUtility Class Reference

Static Public Member Functions

static array resolveSpecialFolderNames (array $folders)
 

Detailed Description

Utility function for working with resource-lists

Definition at line 24 of file ListUtility.php.

Member Function Documentation

◆ resolveSpecialFolderNames()

static array TYPO3\CMS\Core\Resource\Utility\ListUtility::resolveSpecialFolderNames ( array  $folders)
static

Resolve special folders (by their role) into localised string

Parameters
array$folders‪Array of \TYPO3\CMS\Core\Resource\Folder
Returns
‪array Array of \TYPO3\CMS\Core\Resource\Folder; folder name or role with folder name as keys

Definition at line 32 of file ListUtility.php.

References $GLOBALS, and TYPO3\CMS\Core\Resource\FolderInterface\ROLE_DEFAULT.

Referenced by TYPO3\CMS\Backend\Tree\View\FolderTreeView\getFolderTree(), TYPO3\CMS\Filelist\Controller\FileListController\getModuleHeadline(), and TYPO3\CMS\Filelist\FileList\getTable().