ReportController
Reports controller
This class is a specific Backend controller implementation and is not considered part of the Public TYPO3 API.
Table of Contents
Properties
- $iconRegistry : IconRegistry
- $moduleTemplate : ModuleTemplate
- ModuleTemplate object
- $moduleTemplateFactory : ModuleTemplateFactory
- $shortcutName : string
- Module name for the shortcut
- $uriBuilder : UriBuilder
- $view : ViewInterface
Methods
- __construct() : mixed
- handleRequest() : ResponseInterface
- Injects the request object for the current request, and renders correct action
- detailAction() : ResponseInterface|void
- Display a single report
- generateMenu() : mixed
- Generates the menu
- getBackendUser() : BackendUserAuthentication
- getLanguageService() : LanguageService
- indexAction() : mixed
- Overview
- initializeView() : mixed
- resetState() : void
- Reset state in user settings
- saveState() : mixed
- Save the selected report
Properties
$iconRegistry
protected
IconRegistry
$iconRegistry
$moduleTemplate
ModuleTemplate object
protected
ModuleTemplate
$moduleTemplate
$moduleTemplateFactory
protected
ModuleTemplateFactory
$moduleTemplateFactory
$shortcutName
Module name for the shortcut
protected
string
$shortcutName
$uriBuilder
protected
UriBuilder
$uriBuilder
$view
protected
ViewInterface
$view
Methods
__construct()
public
__construct(UriBuilder $uriBuilder, ModuleTemplateFactory $moduleTemplateFactory, IconRegistry $iconRegistry) : mixed
Parameters
- $uriBuilder : UriBuilder
- $moduleTemplateFactory : ModuleTemplateFactory
- $iconRegistry : IconRegistry
handleRequest()
Injects the request object for the current request, and renders correct action
public
handleRequest(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
-
the current request
Return values
ResponseInterface —the response with the content
detailAction()
Display a single report
protected
detailAction(ServerRequestInterface $request) : ResponseInterface|void
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterface|voidgenerateMenu()
Generates the menu
protected
generateMenu(ServerRequestInterface $request) : mixed
Parameters
- $request : ServerRequestInterface
getBackendUser()
protected
getBackendUser() : BackendUserAuthentication
Return values
BackendUserAuthenticationgetLanguageService()
protected
getLanguageService() : LanguageService
Return values
LanguageServiceindexAction()
Overview
protected
indexAction() : mixed
initializeView()
protected
initializeView(string $templateName) : mixed
Parameters
- $templateName : string
resetState()
Reset state in user settings
protected
resetState() : void
saveState()
Save the selected report
protected
saveState([string $extension = '' ][, string $report = '' ]) : mixed
Parameters
- $extension : string = ''
-
Extension name
- $report : string = ''
-
Report name