EditFileController

Script Class for rendering the file editing screen

Internal

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

Table of Contents

Properties

$content  : string
Module content accumulated.
$fileObject  : File|Folder|null
the file that is being edited on
$iconFactory  : IconFactory
$moduleTemplate  : ModuleTemplate
ModuleTemplate object
$moduleTemplateFactory  : ModuleTemplateFactory
$origTarget  : string
Original input target
$resourceFactory  : ResourceFactory
$returnUrl  : string
Return URL of list module.
$target  : string
The original target, but validated.
$uriBuilder  : UriBuilder

Methods

__construct()  : mixed
mainAction()  : ResponseInterface
Processes the request, currently everything is handled and put together via "process()"
getBackendUser()  : BackendUserAuthentication
Returns the current BE user.
getButtonsInternal()  : void
Builds the buttons for the docheader
getLanguageService()  : LanguageService
Returns LanguageService
init()  : void
Initialize script class
process()  : ResponseInterface|null
Main function, rendering the actual content of the editing page

Properties

$content

Module content accumulated.

protected string $content

$origTarget

Original input target

protected string $origTarget

$returnUrl

Return URL of list module.

protected string $returnUrl

$target

The original target, but validated.

protected string $target

Methods

mainAction()

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

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

the current request

Return values
ResponseInterface

the response with the content

getButtonsInternal()

Builds the buttons for the docheader

protected getButtonsInternal() : void

process()

Main function, rendering the actual content of the editing page

protected process() : ResponseInterface|null
Return values
ResponseInterface|null

Possible redirect response


        
On this page

Search results