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
- $moduleTemplateFactory : ModuleTemplateFactory
- $pageRenderer : PageRenderer
- $resourceFactory : ResourceFactory
- $returnUrl : string
- Return URL of list module.
- $uid : int
- sys_file uid
- $uriBuilder : UriBuilder
- $view : ModuleTemplate
Methods
- __construct() : mixed
- mainAction() : ResponseInterface
- Processes the request, currently everything is handled and put together via "main()"
- getLanguageService() : LanguageService
- init() : void
- renderContent() : void
- Render module content
Properties
$fileOrFolderObject
The file or folder object that should be renamed
protected
ResourceInterface|null
$fileOrFolderObject
$iconFactory read-only
protected
IconFactory
$iconFactory
$moduleTemplateFactory read-only
protected
ModuleTemplateFactory
$moduleTemplateFactory
$pageRenderer read-only
protected
PageRenderer
$pageRenderer
$resourceFactory read-only
protected
ResourceFactory
$resourceFactory
$returnUrl
Return URL of list module.
protected
string
$returnUrl
$uid
sys_file uid
protected
int
$uid
$uriBuilder read-only
protected
UriBuilder
$uriBuilder
$view
protected
ModuleTemplate
$view
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
Return values
ResponseInterfacegetLanguageService()
protected
getLanguageService() : LanguageService
Return values
LanguageServiceinit()
protected
init(ServerRequestInterface $request) : void
Parameters
- $request : ServerRequestInterface
Tags
renderContent()
Render module content
protected
renderContent() : void