TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Recordlist\View\FolderUtilityRenderer Class Reference

Public Member Functions

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

Protected Member Functions

 getLanguageService ()
 
 getBackendUser ()
 

Protected Attributes

 $parameterProvider
 

Detailed Description

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

Definition at line 28 of file FolderUtilityRenderer.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 38 of file FolderUtilityRenderer.php.

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

Member Function Documentation

◆ createFolder()

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$folderObjectAbsolute filepath on server in which to create the new folder.
Returns
string HTML for the create folder form.

Definition at line 51 of file FolderUtilityRenderer.php.

References $a, TYPO3\CMS\Core\Resource\Folder\checkActionPermission(), TYPO3\CMS\Recordlist\View\FolderUtilityRenderer\getBackendUser(), TYPO3\CMS\Core\Resource\Folder\getCombinedIdentifier(), TYPO3\CMS\Core\Resource\Folder\getIdentifier(), TYPO3\CMS\Recordlist\View\FolderUtilityRenderer\getLanguageService(), and TYPO3\CMS\Core\Utility\GeneralUtility\implodeArrayForUrl().

◆ getBackendUser()

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

◆ getFileSearchField()

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 236 of file FolderUtilityRenderer.php.

References TYPO3\CMS\Recordlist\View\FolderUtilityRenderer\getLanguageService(), and TYPO3\CMS\Core\Utility\GeneralUtility\implodeArrayForUrl().

◆ getLanguageService()

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

◆ uploadForm()

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

Member Data Documentation

◆ $parameterProvider

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