‪TYPO3CMS  ‪main
TYPO3\CMS\Filelist\Controller\File\EditFileController Class Reference

Public Member Functions

 __construct (protected readonly IconFactory $iconFactory, protected readonly UriBuilder $uriBuilder, protected readonly ResourceFactory $resourceFactory, protected readonly ModuleTemplateFactory $moduleTemplateFactory, protected readonly ResponseFactory $responseFactory, protected readonly StreamFactoryInterface $streamFactory, protected readonly EventDispatcherInterface $eventDispatcher,)
 
 mainAction (ServerRequestInterface $request)
 

Protected Member Functions

 addDocHeaderButtons (ModuleTemplate $view, string $returnUrl)
 
 getLanguageService ()
 
 getBackendUser ()
 

Protected Attributes

array $dataColumnTca
 
array $formEngineData
 

Detailed Description

Edit text files via FormEngine. Reachable via FileList module "Edit content".

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

Definition at line 51 of file EditFileController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Filelist\Controller\File\EditFileController::__construct ( protected readonly IconFactory  $iconFactory,
protected readonly UriBuilder  $uriBuilder,
protected readonly ResourceFactory  $resourceFactory,
protected readonly ModuleTemplateFactory  $moduleTemplateFactory,
protected readonly ResponseFactory  $responseFactory,
protected readonly StreamFactoryInterface  $streamFactory,
protected readonly EventDispatcherInterface  $eventDispatcher 
)

Definition at line 99 of file EditFileController.php.

Member Function Documentation

◆ addDocHeaderButtons()

◆ getBackendUser()

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

Definition at line 207 of file EditFileController.php.

References $GLOBALS.

◆ getLanguageService()

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

◆ mainAction()

Member Data Documentation

◆ $dataColumnTca

array TYPO3\CMS\Filelist\Controller\File\EditFileController::$dataColumnTca
protected
Initial value:
= [
'label' => '',
'config' => [
'type' => 'text',
'cols' => 48,
'wrap' => 'off',
'enableTabulator' => true,
'fixedFont' => true,
],
]

Definition at line 53 of file EditFileController.php.

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

◆ $formEngineData

array TYPO3\CMS\Filelist\Controller\File\EditFileController::$formEngineData
protected