‪TYPO3CMS  10.4
TYPO3\CMS\Filelist\Controller\File\RenameFileController Class Reference
Inheritance diagram for TYPO3\CMS\Filelist\Controller\File\RenameFileController:
TYPO3\CMS\Backend\Controller\File\RenameFileController

Public Member Functions

ResponseInterface mainAction (ServerRequestInterface $request)
 

Protected Member Functions

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

Protected Attributes

string $target
 
File Folder $fileOrFolderObject
 
string $returnUrl
 
ModuleTemplate $moduleTemplate
 

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 40 of file RenameFileController.php.

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 87 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 73 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 TYPO3\CMS\Filelist\Controller\File\RenameFileController::$fileOrFolderObject
protected

The file or folder object that should be renamed

$fileOrFolderObject

Definition at line 53 of file RenameFileController.php.

◆ $moduleTemplate

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

ModuleTemplate object

Definition at line 65 of file RenameFileController.php.

◆ $returnUrl

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

Return URL of list module.

Definition at line 59 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 47 of file RenameFileController.php.