ReplaceFileController
Script Class for the replace-file form
This class is a specific Backend controller implementation and is not considered part of the Public TYPO3 API.
Table of Contents
Properties
- $fileOrFolderObject : ResourceInterface|null
- The file or folder object that should be renamed
- $iconFactory : IconFactory
- $moduleTemplate : ModuleTemplate
- ModuleTemplate object
- $moduleTemplateFactory : ModuleTemplateFactory
- $pageRenderer : PageRenderer
- $resourceFactory : ResourceFactory
- $returnUrl : string
- Return URL of list module.
- $uid : int
- sys_file uid
- $uriBuilder : UriBuilder
Methods
- __construct() : mixed
- mainAction() : ResponseInterface
- Processes the request, currently everything is handled and put together via "main()"
- getLanguageService() : LanguageService
- init() : void
- Init
- renderContent() : void
- Render module content
Properties
$fileOrFolderObject
The file or folder object that should be renamed
protected
ResourceInterface|null
$fileOrFolderObject
$iconFactory
protected
IconFactory
$iconFactory
$moduleTemplate
ModuleTemplate object
protected
ModuleTemplate
$moduleTemplate
$moduleTemplateFactory
protected
ModuleTemplateFactory
$moduleTemplateFactory
$pageRenderer
protected
PageRenderer
$pageRenderer
$resourceFactory
protected
ResourceFactory
$resourceFactory
$returnUrl
Return URL of list module.
protected
string
$returnUrl
$uid
sys_file uid
protected
int
$uid
$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()
protected
getLanguageService() : LanguageService
Return values
LanguageServiceinit()
Init
protected
init(ServerRequestInterface $request) : void
Parameters
- $request : ServerRequestInterface
Tags
renderContent()
Render module content
protected
renderContent() : void