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.
Attributes
- #[AsController]
Table of Contents
Properties
- $iconFactory : IconFactory
- $moduleTemplateFactory : ModuleTemplateFactory
- $redirectRepository : RedirectRepository
- $uriBuilder : UriBuilder
Methods
- __construct() : mixed
- handleRequest() : ResponseInterface
- Injects the request object for the current request, and renders the overview of all redirects
- getLanguageService() : LanguageService
- preparePagination() : array<string|int, mixed>
- Prepares information for the pagination of the module
- registerDocHeaderButtons() : void
- Create document header buttons
Properties
$iconFactory
protected
IconFactory
$iconFactory
$moduleTemplateFactory
protected
ModuleTemplateFactory
$moduleTemplateFactory
$redirectRepository
protected
RedirectRepository
$redirectRepository
$uriBuilder
protected
UriBuilder
$uriBuilder
Methods
__construct()
public
__construct(UriBuilder $uriBuilder, IconFactory $iconFactory, RedirectRepository $redirectRepository, ModuleTemplateFactory $moduleTemplateFactory, EventDispatcherInterface $eventDispatcher) : mixed
Parameters
- $uriBuilder : UriBuilder
- $iconFactory : IconFactory
- $redirectRepository : RedirectRepository
- $moduleTemplateFactory : ModuleTemplateFactory
- $eventDispatcher : EventDispatcherInterface
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
ResponseInterfacegetLanguageService()
protected
getLanguageService() : LanguageService
Return values
LanguageServicepreparePagination()
Prepares information for the pagination of the module
protected
preparePagination(Demand $demand) : array<string|int, mixed>
Parameters
- $demand : Demand
Return values
array<string|int, mixed>registerDocHeaderButtons()
Create document header buttons
protected
registerDocHeaderButtons(ModuleTemplate $view, string $requestUri) : void
Parameters
- $view : ModuleTemplate
- $requestUri : string