EditFileController

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

Internal

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

Table of Contents

Properties

$dataColumnTca  : array<string|int, mixed>
$eventDispatcher  : EventDispatcherInterface
$formEngineData  : array<string|int, mixed>
$iconFactory  : IconFactory
$moduleTemplateFactory  : ModuleTemplateFactory
$resourceFactory  : ResourceFactory
$responseFactory  : ResponseFactory
$streamFactory  : StreamFactoryInterface
$uriBuilder  : UriBuilder

Methods

__construct()  : mixed
mainAction()  : ResponseInterface
Render the edit file content form using FormEngine.
addDocHeaderButtons()  : void
getBackendUser()  : BackendUserAuthentication
getLanguageService()  : LanguageService

Properties

$dataColumnTca

protected array<string|int, mixed> $dataColumnTca = ['label' => '', 'config' => ['type' => 'text', 'cols' => 48, 'wrap' => 'off', 'enableTabulator' => true, 'fixedFont' => true]]

$eventDispatcher read-only

protected EventDispatcherInterface $eventDispatcher

$formEngineData

protected array<string|int, mixed> $formEngineData = ['databaseRow' => ['uid' => 0, 'data' => '', 'target' => 0, 'redirect' => ''], 'tableName' => 'editfile', 'processedTca' => ['columns' => ['data' => [], 'target' => ['config' => ['type' => 'input', 'renderType' => 'hidden']], 'redirect' => ['config' => ['type' => 'input', 'renderType' => 'hidden']]], 'types' => [1 => ['showitem' => 'data,target,redirect']]], 'recordTypeValue' => 1, 'inlineStructure' => [], 'renderType' => 'fullRecordContainer']

$streamFactory read-only

protected StreamFactoryInterface $streamFactory

Methods

__construct()

public __construct(IconFactory $iconFactory, UriBuilder $uriBuilder, ResourceFactory $resourceFactory, ModuleTemplateFactory $moduleTemplateFactory, ResponseFactory $responseFactory, StreamFactoryInterface $streamFactory, EventDispatcherInterface $eventDispatcher) : mixed
Parameters
$iconFactory : IconFactory
$uriBuilder : UriBuilder
$resourceFactory : ResourceFactory
$moduleTemplateFactory : ModuleTemplateFactory
$responseFactory : ResponseFactory
$streamFactory : StreamFactoryInterface
$eventDispatcher : EventDispatcherInterface

mainAction()

Render the edit file content form using FormEngine.

public mainAction(ServerRequestInterface $request) : ResponseInterface
Parameters
$request : ServerRequestInterface
Return values
ResponseInterface

        
On this page

Search results