CreateFolderController

Script class for the create-new script

Displays forms for creating folders (1 to 10), a media asset or a new file.

Internal

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

Table of Contents

Properties

$folderNumber  : int
$folderObject  : Folder
The folder object which is the target directory
$iconFactory  : IconFactory
$moduleTemplate  : ModuleTemplate
ModuleTemplate object
$moduleTemplateFactory  : ModuleTemplateFactory
$number  : int
$pageRenderer  : PageRenderer
$pathInfo  : array<string|int, mixed>
$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 "main()"
getLanguageService()  : LanguageService
Returns LanguageService
init()  : void
main()  : mixed
Main function, rendering the main module content

Properties

$folderNumber

protected int $folderNumber = 10

$folderObject

The folder object which is the target directory

protected Folder $folderObject

$pathInfo

protected array<string|int, mixed> $pathInfo

$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 "main()"

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

the current request

Return values
ResponseInterface

the response with the content

main()

Main function, rendering the main module content

protected main() : mixed

        
On this page

Search results