CreateFileController
Display form to create a new file.
This class is a specific Backend controller implementation and is not considered part of the Public TYPO3 API.
Attributes
- #[AsController]
Table of Contents
Properties
- $folderObject : Folder|null
- The folder object which is the target directory
- $iconFactory : IconFactory
- $moduleTemplateFactory : ModuleTemplateFactory
- $onlineMediaHelperRegistry : OnlineMediaHelperRegistry
- $pageRenderer : PageRenderer
- $resourceFactory : ResourceFactory
- $returnUrl : string
- Return URL of file list module.
- $target : string
- Set with the target path inputted in &target
- $view : ModuleTemplate
Methods
- __construct() : mixed
- mainAction() : ResponseInterface
- getLanguageService() : LanguageService
- initialize() : void
Properties
$folderObject
The folder object which is the target directory
protected
Folder|null
$folderObject
= null
$iconFactory read-only
protected
IconFactory
$iconFactory
$moduleTemplateFactory read-only
protected
ModuleTemplateFactory
$moduleTemplateFactory
$onlineMediaHelperRegistry read-only
protected
OnlineMediaHelperRegistry
$onlineMediaHelperRegistry
$pageRenderer read-only
protected
PageRenderer
$pageRenderer
$resourceFactory read-only
protected
ResourceFactory
$resourceFactory
$returnUrl
Return URL of file list module.
protected
string
$returnUrl
= ''
$target
Set with the target path inputted in &target
protected
string
$target
= ''
$view
protected
ModuleTemplate
$view
Methods
__construct()
public
__construct(IconFactory $iconFactory, PageRenderer $pageRenderer, ResourceFactory $resourceFactory, ModuleTemplateFactory $moduleTemplateFactory, OnlineMediaHelperRegistry $onlineMediaHelperRegistry, FileNameValidator $fileNameValidator) : mixed
Parameters
- $iconFactory : IconFactory
- $pageRenderer : PageRenderer
- $resourceFactory : ResourceFactory
- $moduleTemplateFactory : ModuleTemplateFactory
- $onlineMediaHelperRegistry : OnlineMediaHelperRegistry
- $fileNameValidator : FileNameValidator
mainAction()
public
mainAction(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfacegetLanguageService()
protected
getLanguageService() : LanguageService
Return values
LanguageServiceinitialize()
protected
initialize(ServerRequestInterface $request) : void
Parameters
- $request : ServerRequestInterface