CreateFolderController
Script class for the create-new script
Displays forms for creating folders (1 to 10), a media asset or a new file.
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
$iconFactory
protected
IconFactory
$iconFactory
$moduleTemplate
ModuleTemplate object
protected
ModuleTemplate
$moduleTemplate
$moduleTemplateFactory
protected
ModuleTemplateFactory
$moduleTemplateFactory
$number
protected
int
$number
$pageRenderer
protected
PageRenderer
$pageRenderer
$pathInfo
protected
array<string|int, mixed>
$pathInfo
$resourceFactory
protected
ResourceFactory
$resourceFactory
$returnUrl
Return URL of list module.
protected
string
$returnUrl
$target
Set with the target path inputted in &target
protected
string
$target
$uriBuilder
protected
UriBuilder
$uriBuilder
Methods
__construct()
public
__construct(IconFactory $iconFactory, PageRenderer $pageRenderer, UriBuilder $uriBuilder, ResourceFactory $resourceFactory, ModuleTemplateFactory $moduleTemplateFactory) : mixed
Parameters
- $iconFactory : IconFactory
- $pageRenderer : PageRenderer
- $uriBuilder : UriBuilder
- $resourceFactory : ResourceFactory
- $moduleTemplateFactory : ModuleTemplateFactory
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
getLanguageService()
Returns LanguageService
protected
getLanguageService() : LanguageService
Return values
LanguageServiceinit()
protected
init(ServerRequestInterface $request) : void
Parameters
- $request : ServerRequestInterface
Tags
main()
Main function, rendering the main module content
protected
main() : mixed