FolderUtilityRenderer

class \TYPO3\CMS\Recordlist\View\FolderUtilityRenderer

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

Table of Contents

Properties

$parameterProvider  : LinkParameterProviderInterface
$uriBuilder  : UriBuilder

Methods

__construct()  : mixed
createFolder()  : string
For TBE: Makes a form for creating new folders in the filemount the user is browsing.
uploadForm()  : string
Makes an upload form for uploading files to the filemount the user is browsing.
getBackendUser()  : BackendUserAuthentication
getLanguageService()  : LanguageService

Properties

Methods

createFolder()

For TBE: Makes a form for creating new folders in the filemount the user is browsing.

public createFolder(Folder $folderObject) : string

The folder creation request is sent to the tce_file.php script in the core which will handle the creation.

Parameters

$folderObject : Folder

Absolute filepath on server in which to create the new folder.

Return values

string —

HTML for the create folder form.

uploadForm()

Makes an upload form for uploading files to the filemount the user is browsing.

public uploadForm(Folder $folderObject, string[] $allowedExtensions) : string

The files are uploaded to the tce_file.php script in the core which will handle the upload.

Parameters

$folderObject : Folder
$allowedExtensions : string[]

Return values

string —

HTML for an upload form.

On this page