ManagementController
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.
Table of Contents
Properties
- $iconFactory : IconFactory
- $moduleTemplate : ModuleTemplate
- $moduleTemplateFactory : ModuleTemplateFactory
- $pageRenderer : PageRenderer
- $redirectRepository : RedirectRepository
- $request : ServerRequestInterface
- $view : ViewInterface
Methods
- __construct() : mixed
- handleRequest() : ResponseInterface
- Injects the request object for the current request, and renders the overview of all redirects
- getBackendUserAuthentication() : BackendUserAuthentication
- getButtons() : void
- Create document header buttons
- getLanguageService() : LanguageService
- initializeView() : void
- overviewAction() : void
- Show all redirects, and add a button to create a new redirect
- preparePagination() : array<string|int, mixed>
- Prepares information for the pagination of the module
Properties
$iconFactory
protected
IconFactory
$iconFactory
$moduleTemplate
protected
ModuleTemplate
$moduleTemplate
$moduleTemplateFactory
protected
ModuleTemplateFactory
$moduleTemplateFactory
$pageRenderer
protected
PageRenderer
$pageRenderer
$redirectRepository
protected
RedirectRepository
$redirectRepository
$request
protected
ServerRequestInterface
$request
$view
protected
ViewInterface
$view
Methods
__construct()
public
__construct(IconFactory $iconFactory, PageRenderer $pageRenderer, RedirectRepository $redirectRepository, ModuleTemplateFactory $moduleTemplateFactory) : mixed
Parameters
- $iconFactory : IconFactory
- $pageRenderer : PageRenderer
- $redirectRepository : RedirectRepository
- $moduleTemplateFactory : ModuleTemplateFactory
handleRequest()
Injects the request object for the current request, and renders the overview of all redirects
public
handleRequest(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfacegetBackendUserAuthentication()
protected
getBackendUserAuthentication() : BackendUserAuthentication
Return values
BackendUserAuthenticationgetButtons()
Create document header buttons
protected
getButtons() : void
getLanguageService()
protected
getLanguageService() : LanguageService
Return values
LanguageServiceinitializeView()
protected
initializeView(string $templateName) : void
Parameters
- $templateName : string
overviewAction()
Show all redirects, and add a button to create a new redirect
protected
overviewAction(ServerRequestInterface $request) : void
Parameters
- $request : ServerRequestInterface
preparePagination()
Prepares information for the pagination of the module
protected
preparePagination(Demand $demand) : array<string|int, mixed>
Parameters
- $demand : Demand