RenameFileController
Script Class for the rename-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 : File|Folder|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.
- $target : string
- Target path
- $uriBuilder : UriBuilder
Methods
- __construct() : mixed
- mainAction() : ResponseInterface
- Processes the request, currently everything is handled and put together via "renderContent()"
- getLanguageService() : LanguageService
- init() : void
- Initialize
- renderContent() : void
- Render module content
Properties
$fileOrFolderObject
The file or folder object that should be renamed
protected
File|Folder|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
$target
Target path
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 "renderContent()"
public
mainAction(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterface —the response with the content
getLanguageService()
protected
getLanguageService() : LanguageService
Return values
LanguageServiceinit()
Initialize
protected
init(ServerRequestInterface $request) : void
Parameters
- $request : ServerRequestInterface
Tags
renderContent()
Render module content
protected
renderContent() : void