FileUploadController

Script Class for display up to 10 upload fields

Internal

This class is a specific Backend controller implementation and is not considered part of the Public TYPO3 API.

Table of Contents

Properties

$content  : string
Accumulating content
$folderObject  : File|Folder|null
The folder object which is the target directory for the upload
$iconFactory  : IconFactory
$moduleTemplate  : ModuleTemplate
ModuleTemplate object
$moduleTemplateFactory  : ModuleTemplateFactory
$pageRenderer  : PageRenderer
$resourceFactory  : ResourceFactory
$returnUrl  : string
Return URL of list module.
$target  : string
Set with the target path inputted in &target
$uriBuilder  : UriBuilder

Methods

__construct()  : mixed
mainAction()  : ResponseInterface
Processes the request, currently everything is handled and put together via "renderContent()"
getLanguageService()  : LanguageService
init()  : void
Initialize
renderContent()  : void
Render module content
renderUploadFormInternal()  : string
This function renders the upload form

Properties

$content

Accumulating content

protected string $content

$folderObject

The folder object which is the target directory for the upload

protected File|Folder|null $folderObject

$returnUrl

Return URL of list module.

protected string $returnUrl

$target

Set with the target path inputted in &target

protected string $target

Methods

mainAction()

Processes the request, currently everything is handled and put together via "renderContent()"

public mainAction(ServerRequestInterface $request) : ResponseInterface
Parameters
$request : ServerRequestInterface

the current request

Return values
ResponseInterface

the response with the content

renderContent()

Render module content

protected renderContent() : void

renderUploadFormInternal()

This function renders the upload form

protected renderUploadFormInternal() : string
Return values
string

The HTML form as a string, ready for outputting


        
On this page

Search results