ReportController

class \TYPO3\CMS\Reports\Controller\ReportController

Reports controller

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

$shortcutName

Module name for the shortcut

protected string $shortcutName

Methods

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|void

generateMenu()

Generates the menu

protected generateMenu(ServerRequestInterface $request) : mixed

Parameters

$request : ServerRequestInterface

indexAction()

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

On this page