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

Public Member Functions

 __construct ()
 
ResponseInterface mainAction (ServerRequestInterface $request)
 

Protected Member Functions

 init (ServerRequestInterface $request)
 
ResponseInterface null process ()
 
 getButtonsInternal ()
 
LanguageService getLanguageService ()
 
BackendUserAuthentication getBackendUser ()
 

Protected Attributes

string $content
 
string $origTarget
 
string $target
 
string $returnUrl
 
File $fileObject
 
ModuleTemplate $moduleTemplate
 
UriBuilder $uriBuilder
 

Detailed Description

Script Class for rendering the file editing screen

This class is a specific Backend controller implementation and is not considered part of the Public TYPO3 API.

Definition at line 44 of file EditFileController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Filelist\Controller\File\EditFileController::__construct ( )

Constructor

Reimplemented in TYPO3\CMS\Backend\Controller\File\EditFileController.

Definition at line 89 of file EditFileController.php.

Member Function Documentation

◆ getBackendUser()

BackendUserAuthentication TYPO3\CMS\Filelist\Controller\File\EditFileController::getBackendUser ( )
protected

Returns the current BE user.

Returns
‪BackendUserAuthentication

Definition at line 339 of file EditFileController.php.

References $GLOBALS.

◆ getButtonsInternal()

TYPO3\CMS\Filelist\Controller\File\EditFileController::getButtonsInternal ( )
protected

◆ getLanguageService()

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

◆ init()

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

Initialize script class

Parameters
ServerRequestInterface$request
Exceptions
InsufficientFileAccessPermissionsException

Definition at line 118 of file EditFileController.php.

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

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

◆ mainAction()

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

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

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

Definition at line 101 of file EditFileController.php.

References TYPO3\CMS\Filelist\Controller\File\EditFileController\init(), and TYPO3\CMS\Filelist\Controller\File\EditFileController\process().

◆ process()

Member Data Documentation

◆ $content

string TYPO3\CMS\Filelist\Controller\File\EditFileController::$content
protected

Module content accumulated.

Definition at line 50 of file EditFileController.php.

Referenced by TYPO3\CMS\Filelist\Controller\File\EditFileController\process().

◆ $fileObject

File TYPO3\CMS\Filelist\Controller\File\EditFileController::$fileObject
protected

the file that is being edited on

Definition at line 74 of file EditFileController.php.

◆ $moduleTemplate

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

ModuleTemplate object

Definition at line 80 of file EditFileController.php.

◆ $origTarget

string TYPO3\CMS\Filelist\Controller\File\EditFileController::$origTarget
protected

Original input target

Definition at line 56 of file EditFileController.php.

◆ $returnUrl

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

Return URL of list module.

Definition at line 68 of file EditFileController.php.

Referenced by TYPO3\CMS\Filelist\Controller\File\EditFileController\process().

◆ $target

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

The original target, but validated.

Definition at line 62 of file EditFileController.php.

Referenced by TYPO3\CMS\Filelist\Controller\File\EditFileController\process().

◆ $uriBuilder

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

Definition at line 84 of file EditFileController.php.