FolderUtilityRenderer

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

Internal

Table of Contents

Properties

$parameterProvider  : LinkParameterProviderInterface
$uriBuilder  : UriBuilder

Methods

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

Properties

Methods

createFolder()

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

public createFolder(ServerRequestInterface $request, Folder $folderObject) : string

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

Parameters
$request : ServerRequestInterface
$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 file mount the user is browsing.

public uploadForm(ServerRequestInterface $request, Folder $folderObject[, FileExtensionFilter|null $fileExtensionFilter = null ]) : string

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

Parameters
$request : ServerRequestInterface
$folderObject : Folder
$fileExtensionFilter : FileExtensionFilter|null = null
Return values
string —

HTML for an upload form.

On this page

Search results