‪TYPO3CMS  10.4
TYPO3\CMS\Recordlist\View\FolderUtilityRenderer Class Reference

Public Member Functions

 __construct (LinkParameterProviderInterface $parameterProvider)
 
string createFolder (Folder $folderObject)
 
string uploadForm (Folder $folderObject, array $allowedExtensions)
 
string getFileSearchField ($searchWord)
 

Protected Member Functions

LanguageService getLanguageService ()
 
BackendUserAuthentication getBackendUser ()
 

Protected Attributes

LinkParameterProviderInterface $parameterProvider
 

Detailed Description

Renders utility forms used in the views for files/folders of Element and Link Browser

Definition at line 32 of file FolderUtilityRenderer.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Recordlist\View\FolderUtilityRenderer::__construct ( LinkParameterProviderInterface  $parameterProvider)
Parameters
LinkParameterProviderInterface$parameterProvider

Definition at line 41 of file FolderUtilityRenderer.php.

References TYPO3\CMS\Recordlist\View\FolderUtilityRenderer\$parameterProvider.

Member Function Documentation

◆ createFolder()

string TYPO3\CMS\Recordlist\View\FolderUtilityRenderer::createFolder ( Folder  $folderObject)

For TBE: Makes a form for creating new folders in the filemount the user is browsing. The folder creation request is sent to the tce_file.php script in the core which will handle the creation.

Parameters
Folder$folderObject‪Absolute filepath on server in which to create the new folder.
Returns
‪string HTML for the create folder form.

Definition at line 54 of file FolderUtilityRenderer.php.

References TYPO3\CMS\Core\Utility\HttpUtility\buildQueryString(), TYPO3\CMS\Core\Resource\Folder\checkActionPermission(), TYPO3\CMS\Recordlist\View\FolderUtilityRenderer\getBackendUser(), TYPO3\CMS\Core\Resource\Folder\getCombinedIdentifier(), TYPO3\CMS\Core\Resource\Folder\getIdentifier(), and TYPO3\CMS\Recordlist\View\FolderUtilityRenderer\getLanguageService().

◆ getBackendUser()

BackendUserAuthentication TYPO3\CMS\Recordlist\View\FolderUtilityRenderer::getBackendUser ( )
protected

◆ getFileSearchField()

string TYPO3\CMS\Recordlist\View\FolderUtilityRenderer::getFileSearchField (   $searchWord)

Get the HTML data required for the file search field of the TYPO3 Element Browser.

Parameters
string$searchWord
Returns
‪string HTML data required for the search field in the file list of the Element Browser

Definition at line 241 of file FolderUtilityRenderer.php.

References TYPO3\CMS\Core\Utility\HttpUtility\buildQueryString(), and TYPO3\CMS\Recordlist\View\FolderUtilityRenderer\getLanguageService().

◆ getLanguageService()

LanguageService TYPO3\CMS\Recordlist\View\FolderUtilityRenderer::getLanguageService ( )
protected

◆ uploadForm()

string TYPO3\CMS\Recordlist\View\FolderUtilityRenderer::uploadForm ( Folder  $folderObject,
array  $allowedExtensions 
)

Member Data Documentation

◆ $parameterProvider

LinkParameterProviderInterface TYPO3\CMS\Recordlist\View\FolderUtilityRenderer::$parameterProvider
protected