InfoModuleController
Script Class for the Web > Info module This class creates the framework to which other extensions can add their third-level modules
This class is a specific Backend controller implementation and is not part of the TYPO3's Core API.
Attributes
- #[AsController]
Table of Contents
Properties
- $pageinfo : array<string|int, mixed>
- $currentModule : ModuleInterface
- $eventDispatcher : EventDispatcherInterface
- $iconFactory : IconFactory
- $id : int
- Value of the GET/POST var 'id' = the current page ID
- $moduleProvider : ModuleProvider
- $moduleTemplateFactory : ModuleTemplateFactory
- $pageRenderer : PageRenderer
- $uriBuilder : UriBuilder
- $view : ModuleTemplate|null
Methods
- __construct() : mixed
- handleRequest() : ResponseInterface
- Main action, should never be called, but works as a fallback if e.g. no submodule is accessible
- getBackendUser() : BackendUserAuthentication
- getButtons() : void
- Create the panel of buttons for submitting the form or otherwise perform operations.
- getLanguageService() : LanguageService
- init() : void
- Initializes the backend module by setting internal variables, initializing the menu.
Properties
$pageinfo
public
array<string|int, mixed>
$pageinfo
= []
$currentModule
protected
ModuleInterface
$currentModule
$eventDispatcher read-only
protected
EventDispatcherInterface
$eventDispatcher
$iconFactory read-only
protected
IconFactory
$iconFactory
$id
Value of the GET/POST var 'id' = the current page ID
protected
int
$id
$moduleProvider read-only
protected
ModuleProvider
$moduleProvider
$moduleTemplateFactory read-only
protected
ModuleTemplateFactory
$moduleTemplateFactory
$pageRenderer read-only
protected
PageRenderer
$pageRenderer
$uriBuilder read-only
protected
UriBuilder
$uriBuilder
$view
protected
ModuleTemplate|null
$view
Methods
__construct()
public
__construct(IconFactory $iconFactory, UriBuilder $uriBuilder, ModuleProvider $moduleProvider, PageRenderer $pageRenderer, ModuleTemplateFactory $moduleTemplateFactory, EventDispatcherInterface $eventDispatcher) : mixed
Parameters
- $iconFactory : IconFactory
- $uriBuilder : UriBuilder
- $moduleProvider : ModuleProvider
- $pageRenderer : PageRenderer
- $moduleTemplateFactory : ModuleTemplateFactory
- $eventDispatcher : EventDispatcherInterface
handleRequest()
Main action, should never be called, but works as a fallback if e.g. no submodule is accessible
public
handleRequest(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfacegetBackendUser()
protected
getBackendUser() : BackendUserAuthentication
Return values
BackendUserAuthenticationgetButtons()
Create the panel of buttons for submitting the form or otherwise perform operations.
protected
getButtons() : void
getLanguageService()
protected
getLanguageService() : LanguageService
Return values
LanguageServiceinit()
Initializes the backend module by setting internal variables, initializing the menu.
protected
init(ServerRequestInterface $request) : void
Parameters
- $request : ServerRequestInterface