‪TYPO3CMS  10.4
TYPO3\CMS\Redirects\Controller\ManagementController Class Reference

Public Member Functions

 __construct ()
 
ResponseInterface handleRequest (ServerRequestInterface $request)
 

Protected Member Functions

 overviewAction (ServerRequestInterface $request)
 
array preparePagination (Demand $demand, int $count)
 
 initializeView (string $templateName)
 
 getButtons ()
 
LanguageService getLanguageService ()
 
BackendUserAuthentication getBackendUserAuthentication ()
 

Protected Attributes

ModuleTemplate $moduleTemplate
 
ViewInterface $view
 
ServerRequestInterface $request
 
IconFactory $iconFactory
 

Detailed Description

Lists all redirects in the TYPO3 Backend as a module

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

Definition at line 41 of file ManagementController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Redirects\Controller\ManagementController::__construct ( )

Instantiate the form protection before a simulated user is initialized.

Definition at line 64 of file ManagementController.php.

References TYPO3\CMS\Redirects\Controller\ManagementController\getLanguageService(), and TYPO3\CMS\Core\Localization\LanguageService\includeLLFile().

Member Function Documentation

◆ getBackendUserAuthentication()

BackendUserAuthentication TYPO3\CMS\Redirects\Controller\ManagementController::getBackendUserAuthentication ( )
protected
Returns
‪BackendUserAuthentication

Definition at line 207 of file ManagementController.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Redirects\Controller\ManagementController\getButtons().

◆ getButtons()

◆ getLanguageService()

LanguageService TYPO3\CMS\Redirects\Controller\ManagementController::getLanguageService ( )
protected

◆ handleRequest()

ResponseInterface TYPO3\CMS\Redirects\Controller\ManagementController::handleRequest ( ServerRequestInterface  $request)

Injects the request object for the current request, and renders the overview of all redirects

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

Definition at line 79 of file ManagementController.php.

References TYPO3\CMS\Redirects\Controller\ManagementController\$request, TYPO3\CMS\Redirects\Controller\ManagementController\initializeView(), and TYPO3\CMS\Redirects\Controller\ManagementController\overviewAction().

◆ initializeView()

TYPO3\CMS\Redirects\Controller\ManagementController::initializeView ( string  $templateName)
protected
Parameters
string$templateName

Definition at line 144 of file ManagementController.php.

Referenced by TYPO3\CMS\Redirects\Controller\ManagementController\handleRequest().

◆ overviewAction()

TYPO3\CMS\Redirects\Controller\ManagementController::overviewAction ( ServerRequestInterface  $request)
protected

◆ preparePagination()

array TYPO3\CMS\Redirects\Controller\ManagementController::preparePagination ( Demand  $demand,
int  $count 
)
protected

Prepares information for the pagination of the module

Parameters
Demand$demand
int$count
Returns
‪array

Definition at line 116 of file ManagementController.php.

References TYPO3\CMS\Redirects\Repository\Demand\getLimit(), TYPO3\CMS\Redirects\Repository\Demand\getOffset(), and TYPO3\CMS\Redirects\Repository\Demand\getPage().

Member Data Documentation

◆ $iconFactory

IconFactory TYPO3\CMS\Redirects\Controller\ManagementController::$iconFactory
protected

Definition at line 59 of file ManagementController.php.

◆ $moduleTemplate

ModuleTemplate TYPO3\CMS\Redirects\Controller\ManagementController::$moduleTemplate
protected

ModuleTemplate object

Definition at line 47 of file ManagementController.php.

◆ $request

ServerRequestInterface TYPO3\CMS\Redirects\Controller\ManagementController::$request
protected

◆ $view

ViewInterface TYPO3\CMS\Redirects\Controller\ManagementController::$view
protected

Definition at line 51 of file ManagementController.php.