ManagementController

class \TYPO3\CMS\Redirects\Controller\ManagementController

Lists all redirects in the TYPO3 Backend as a module.

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

Methods

__construct()

public __construct(UriBuilder $uriBuilder, IconFactory $iconFactory, RedirectRepository $redirectRepository, ModuleTemplateFactory $moduleTemplateFactory, EventDispatcherInterface $eventDispatcher, ComponentFactory $componentFactory, ModulePaginationService $modulePaginationService, Avatar $avatar, Features $features) : mixed

Parameters

$uriBuilder : UriBuilder
$iconFactory : IconFactory
$redirectRepository : RedirectRepository
$moduleTemplateFactory : ModuleTemplateFactory
$eventDispatcher : EventDispatcherInterface
$componentFactory : ComponentFactory
$modulePaginationService : ModulePaginationService
$avatar : Avatar
$features : Features

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

ResponseInterface

buildCreatorFilterOptions()

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

bool

canListRedirects()

protected canListRedirects() : bool

Return values

bool

prepareCreators()

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}>
On this page