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
- $avatar : Avatar
- $componentFactory : ComponentFactory
- $iconFactory : IconFactory
- $modulePaginationService : ModulePaginationService
- $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
- buildCreatorFilterOptions() : array<int, string>
- canEditRedirects() : bool
- canListRedirects() : bool
- getBackendUser() : BackendUserAuthentication
- getLanguageService() : LanguageService
- prepareCreators() : array<int, array{label: string, avatar: string, filterValue: int}>
- registerDocHeaderButtons() : void
- Create document header buttons
Properties
$avatar
protected
Avatar
$avatar
$componentFactory
protected
ComponentFactory
$componentFactory
$iconFactory
protected
IconFactory
$iconFactory
$modulePaginationService
protected
ModulePaginationService
$modulePaginationService
$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, ComponentFactory $componentFactory, ModulePaginationService $modulePaginationService, Avatar $avatar) : mixed
Parameters
- $uriBuilder : UriBuilder
- $iconFactory : IconFactory
- $redirectRepository : RedirectRepository
- $moduleTemplateFactory : ModuleTemplateFactory
- $eventDispatcher : EventDispatcherInterface
- $componentFactory : ComponentFactory
- $modulePaginationService : ModulePaginationService
- $avatar : Avatar
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
ResponseInterfacebuildCreatorFilterOptions()
protected
buildCreatorFilterOptions(array<int, array{label: string, avatar: string, filterValue: int}> $creators) : array<int, string>
Parameters
- $creators : array<int, array{label: string, avatar: string, filterValue: int}>
Return values
array<int, string>canEditRedirects()
protected
canEditRedirects() : bool
Return values
boolcanListRedirects()
protected
canListRedirects() : bool
Return values
boolgetBackendUser()
protected
getBackendUser() : BackendUserAuthentication
Return values
BackendUserAuthenticationgetLanguageService()
protected
getLanguageService() : LanguageService
Return values
LanguageServiceprepareCreators()
protected
prepareCreators(array<int, array<string, mixed>> $creatorRecords, array<int, array<string, mixed>> $redirects) : array<int, array{label: string, avatar: string, filterValue: int}>
Parameters
- $creatorRecords : array<int, array<string, mixed>>
- $redirects : array<int, array<string, mixed>>
Return values
array<int, array{label: string, avatar: string, filterValue: int}>registerDocHeaderButtons()
Create document header buttons
protected
registerDocHeaderButtons(ModuleTemplate $view) : void
Parameters
- $view : ModuleTemplate