‪TYPO3CMS  11.5
TYPO3\CMS\Reports\Controller\ReportController Class Reference

Public Member Functions

 __construct (UriBuilder $uriBuilder, ModuleTemplateFactory $moduleTemplateFactory, IconRegistry $iconRegistry)
 
ResponseInterface handleRequest (ServerRequestInterface $request)
 

Protected Member Functions

 initializeView (string $templateName)
 
 indexAction ()
 
ResponseInterface void detailAction (ServerRequestInterface $request)
 
 generateMenu (ServerRequestInterface $request)
 
 saveState (string $extension='', string $report='')
 
 resetState ()
 
BackendUserAuthentication getBackendUser ()
 
LanguageService getLanguageService ()
 

Protected Attributes

ModuleTemplate $moduleTemplate
 
ViewInterface $view
 
string $shortcutName
 
UriBuilder $uriBuilder
 
ModuleTemplateFactory $moduleTemplateFactory
 
IconRegistry $iconRegistry
 

Detailed Description

Reports controller

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

Definition at line 41 of file ReportController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Reports\Controller\ReportController::__construct ( UriBuilder  $uriBuilder,
ModuleTemplateFactory  $moduleTemplateFactory,
IconRegistry  $iconRegistry 
)

Member Function Documentation

◆ detailAction()

ResponseInterface void TYPO3\CMS\Reports\Controller\ReportController::detailAction ( ServerRequestInterface  $request)
protected

◆ generateMenu()

TYPO3\CMS\Reports\Controller\ReportController::generateMenu ( ServerRequestInterface  $request)
protected

Generates the menu

Parameters
ServerRequestInterface$request

Definition at line 227 of file ReportController.php.

References $GLOBALS, and TYPO3\CMS\Reports\Controller\ReportController\getLanguageService().

Referenced by TYPO3\CMS\Reports\Controller\ReportController\handleRequest().

◆ getBackendUser()

BackendUserAuthentication TYPO3\CMS\Reports\Controller\ReportController::getBackendUser ( )
protected
Returns
‪BackendUserAuthentication

Definition at line 289 of file ReportController.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Reports\Controller\ReportController\resetState(), and TYPO3\CMS\Reports\Controller\ReportController\saveState().

◆ getLanguageService()

LanguageService TYPO3\CMS\Reports\Controller\ReportController::getLanguageService ( )
protected

◆ handleRequest()

ResponseInterface TYPO3\CMS\Reports\Controller\ReportController::handleRequest ( ServerRequestInterface  $request)

Injects the request object for the current request, and renders correct action

Parameters
ServerRequestInterface$request‪the current request
Returns
‪ResponseInterface the response with the content

Definition at line 79 of file ReportController.php.

References $GLOBALS, TYPO3\CMS\Reports\Controller\ReportController\detailAction(), TYPO3\CMS\Reports\Controller\ReportController\generateMenu(), TYPO3\CMS\Reports\Controller\ReportController\indexAction(), and TYPO3\CMS\Reports\Controller\ReportController\initializeView().

◆ indexAction()

◆ initializeView()

TYPO3\CMS\Reports\Controller\ReportController::initializeView ( string  $templateName)
protected
Parameters
string$templateName

Definition at line 138 of file ReportController.php.

Referenced by TYPO3\CMS\Reports\Controller\ReportController\handleRequest().

◆ resetState()

TYPO3\CMS\Reports\Controller\ReportController::resetState ( )
protected

◆ saveState()

TYPO3\CMS\Reports\Controller\ReportController::saveState ( string  $extension = '',
string  $report = '' 
)
protected

Member Data Documentation

◆ $iconRegistry

IconRegistry TYPO3\CMS\Reports\Controller\ReportController::$iconRegistry
protected

◆ $moduleTemplate

ModuleTemplate TYPO3\CMS\Reports\Controller\ReportController::$moduleTemplate
protected

ModuleTemplate object

Definition at line 47 of file ReportController.php.

◆ $moduleTemplateFactory

ModuleTemplateFactory TYPO3\CMS\Reports\Controller\ReportController::$moduleTemplateFactory
protected

◆ $shortcutName

string TYPO3\CMS\Reports\Controller\ReportController::$shortcutName
protected

Module name for the shortcut

Definition at line 57 of file ReportController.php.

◆ $uriBuilder

UriBuilder TYPO3\CMS\Reports\Controller\ReportController::$uriBuilder
protected

◆ $view

ViewInterface TYPO3\CMS\Reports\Controller\ReportController::$view
protected

Definition at line 51 of file ReportController.php.