‪TYPO3CMS  11.5
TYPO3\CMS\Filelist\Controller\File\RenameFileController Class Reference

Public Member Functions

 __construct (IconFactory $iconFactory, PageRenderer $pageRenderer, UriBuilder $uriBuilder, ResourceFactory $resourceFactory, ModuleTemplateFactory $moduleTemplateFactory)
 
ResponseInterface mainAction (ServerRequestInterface $request)
 

Protected Member Functions

 init (ServerRequestInterface $request)
 
 renderContent ()
 
LanguageService getLanguageService ()
 

Protected Attributes

string $target
 
File Folder null $fileOrFolderObject
 
string $returnUrl
 
ModuleTemplate $moduleTemplate
 
IconFactory $iconFactory
 
PageRenderer $pageRenderer
 
UriBuilder $uriBuilder
 
ResourceFactory $resourceFactory
 
ModuleTemplateFactory $moduleTemplateFactory
 

Detailed Description

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.

Definition at line 43 of file RenameFileController.php.

Constructor & Destructor Documentation

◆ __construct()

Member Function Documentation

◆ getLanguageService()

LanguageService TYPO3\CMS\Filelist\Controller\File\RenameFileController::getLanguageService ( )
protected

◆ init()

TYPO3\CMS\Filelist\Controller\File\RenameFileController::init ( ServerRequestInterface  $request)
protected

Initialize

Parameters
ServerRequestInterface$request
Exceptions
InsufficientFileAccessPermissionsException

Definition at line 110 of file RenameFileController.php.

References TYPO3\CMS\Filelist\Controller\File\RenameFileController\getLanguageService(), and TYPO3\CMS\Core\Localization\LanguageService\sL().

Referenced by TYPO3\CMS\Filelist\Controller\File\RenameFileController\mainAction().

◆ mainAction()

ResponseInterface TYPO3\CMS\Filelist\Controller\File\RenameFileController::mainAction ( ServerRequestInterface  $request)

Processes the request, currently everything is handled and put together via "renderContent()"

Parameters
ServerRequestInterface$request
Returns
‪ResponseInterface the response with the content

Definition at line 96 of file RenameFileController.php.

References TYPO3\CMS\Filelist\Controller\File\RenameFileController\init(), and TYPO3\CMS\Filelist\Controller\File\RenameFileController\renderContent().

◆ renderContent()

Member Data Documentation

◆ $fileOrFolderObject

File Folder null TYPO3\CMS\Filelist\Controller\File\RenameFileController::$fileOrFolderObject
protected

The file or folder object that should be renamed

Definition at line 56 of file RenameFileController.php.

◆ $iconFactory

IconFactory TYPO3\CMS\Filelist\Controller\File\RenameFileController::$iconFactory
protected

◆ $moduleTemplate

ModuleTemplate TYPO3\CMS\Filelist\Controller\File\RenameFileController::$moduleTemplate
protected

ModuleTemplate object

Definition at line 68 of file RenameFileController.php.

◆ $moduleTemplateFactory

ModuleTemplateFactory TYPO3\CMS\Filelist\Controller\File\RenameFileController::$moduleTemplateFactory
protected

◆ $pageRenderer

PageRenderer TYPO3\CMS\Filelist\Controller\File\RenameFileController::$pageRenderer
protected

◆ $resourceFactory

ResourceFactory TYPO3\CMS\Filelist\Controller\File\RenameFileController::$resourceFactory
protected

◆ $returnUrl

string TYPO3\CMS\Filelist\Controller\File\RenameFileController::$returnUrl
protected

Return URL of list module.

Definition at line 62 of file RenameFileController.php.

Referenced by TYPO3\CMS\Filelist\Controller\File\RenameFileController\renderContent().

◆ $target

string TYPO3\CMS\Filelist\Controller\File\RenameFileController::$target
protected

Target path

Definition at line 50 of file RenameFileController.php.

◆ $uriBuilder

UriBuilder TYPO3\CMS\Filelist\Controller\File\RenameFileController::$uriBuilder
protected