‪TYPO3CMS  9.5
TYPO3\CMS\Backend\Controller\File\RenameFileController Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Controller\File\RenameFileController:
TYPO3\CMS\Core\Compatibility\PublicPropertyDeprecationTrait

Public Member Functions

 __construct ()
 
ResponseInterface mainAction (ServerRequestInterface $request)
 
 main ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Compatibility\PublicPropertyDeprecationTrait
bool __isset (string $propertyName)
 
mixed __get (string $propertyName)
 
 __set (string $propertyName, $propertyValue)
 
 __unset (string $propertyName)
 

Protected Member Functions

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

Protected Attributes

array $deprecatedPublicProperties
 
string $title
 
string $target
 
File Folder $fileOrFolderObject
 
string $returnUrl
 
string $content
 
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 38 of file RenameFileController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Backend\Controller\File\RenameFileController::__construct ( )

Member Function Documentation

◆ getDocumentTemplate()

DocumentTemplate TYPO3\CMS\Backend\Controller\File\RenameFileController::getDocumentTemplate ( )
protected
Returns
‪DocumentTemplate

Definition at line 269 of file RenameFileController.php.

References $GLOBALS.

◆ getLanguageService()

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

◆ init()

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

◆ main()

TYPO3\CMS\Backend\Controller\File\RenameFileController::main ( )

Main function, rendering the content of the rename form

Deprecated:
‪since TYPO3 v9, will be removed in TYPO3 v10.0

Definition at line 117 of file RenameFileController.php.

References TYPO3\CMS\Backend\Controller\File\RenameFileController\renderContent().

◆ mainAction()

ResponseInterface TYPO3\CMS\Backend\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 105 of file RenameFileController.php.

References TYPO3\CMS\Backend\Controller\File\RenameFileController\renderContent().

◆ renderContent()

Member Data Documentation

◆ $content

string TYPO3\CMS\Backend\Controller\File\RenameFileController::$content
protected

Accumulating content

Definition at line 80 of file RenameFileController.php.

◆ $deprecatedPublicProperties

array TYPO3\CMS\Backend\Controller\File\RenameFileController::$deprecatedPublicProperties
protected
Initial value:
= array(
'title' => 'Using $title of class RenameFileController from outside is discouraged as this variable is only used for internal storage.',
'target' => 'Using $target of class RenameFileController from outside is discouraged as this variable is only used for internal storage.',
'returnUrl' => 'Using $returnUrl of class RenameFileController from outside is discouraged as this variable is only used for internal storage.',
'content' => 'Using $content of class RenameFileController from outside is discouraged as this variable is only used for internal storage.',
)

Definition at line 43 of file RenameFileController.php.

◆ $fileOrFolderObject

File Folder TYPO3\CMS\Backend\Controller\File\RenameFileController::$fileOrFolderObject
protected

The file or folder object that should be renamed

$fileOrFolderObject

Definition at line 67 of file RenameFileController.php.

◆ $moduleTemplate

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

ModuleTemplate object

Definition at line 86 of file RenameFileController.php.

◆ $returnUrl

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

Return URL of list module.

Definition at line 73 of file RenameFileController.php.

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

◆ $target

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

Target path

Definition at line 61 of file RenameFileController.php.

◆ $title

string TYPO3\CMS\Backend\Controller\File\RenameFileController::$title
protected

Name of the filemount

Definition at line 54 of file RenameFileController.php.

Referenced by TYPO3\CMS\Backend\Controller\File\RenameFileController\init().