EditFileController
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.
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
    
    
    
    
    
    
$fileObject
the file that is being edited on
        protected
            File|Folder|null
    $fileObject
    
    
    
    
    
    
$iconFactory
        protected
            IconFactory
    $iconFactory
    
    
    
    
    
    
$moduleTemplate
ModuleTemplate object
        protected
            ModuleTemplate
    $moduleTemplate
    
    
    
    
    
    
$moduleTemplateFactory
        protected
            ModuleTemplateFactory
    $moduleTemplateFactory
    
    
    
    
    
    
$origTarget
Original input target
        protected
            string
    $origTarget
    
    
    
    
    
    
$resourceFactory
        protected
            ResourceFactory
    $resourceFactory
    
    
    
    
    
    
$returnUrl
Return URL of list module.
        protected
            string
    $returnUrl
    
    
    
    
    
    
$target
The original target, but validated.
        protected
            string
    $target
    
    
    
    
    
    
$uriBuilder
        protected
            UriBuilder
    $uriBuilder
    
    
    
    
    
    
Methods
__construct()
    public
                    __construct(IconFactory $iconFactory, UriBuilder $uriBuilder, ResourceFactory $resourceFactory, ModuleTemplateFactory $moduleTemplateFactory) : mixed
    Parameters
- $iconFactory : IconFactory
- $uriBuilder : UriBuilder
- $resourceFactory : ResourceFactory
- $moduleTemplateFactory : ModuleTemplateFactory
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
getBackendUser()
Returns the current BE user.
    protected
                    getBackendUser() : BackendUserAuthentication
    Return values
BackendUserAuthenticationgetButtonsInternal()
Builds the buttons for the docheader
    protected
                    getButtonsInternal() : void
    getLanguageService()
Returns LanguageService
    protected
                    getLanguageService() : LanguageService
    Return values
LanguageServiceinit()
Initialize script class
    protected
                    init(ServerRequestInterface $request) : void
    Parameters
- $request : ServerRequestInterface
Tags
process()
Main function, rendering the actual content of the editing page
    protected
                    process() : ResponseInterface|null
    Return values
ResponseInterface|null —Possible redirect response