ModifyRedirectManagementControllerViewDataEvent

FinalYes

This event is fired in the \TYPO3\CMS\Redirects\Controller\ManagementController handleRequest() method.

It can be used to further enrich view data for the management view.

Table of Contents

Methods

__construct()  : mixed
getCreationTypes()  : array<string|int, mixed>
Returns creation types for the filter select box.
getDemand()  : Demand
Return the demand object used to retrieve the redirects.
getHosts()  : array<string|int, mixed>
Returns the hosts to be used for the host filter select box.
getIntegrityStatusCodes()  : array<string|int, mixed>
Returns all integrity status codes.
getRedirects()  : array<string|int, mixed>
Return the retrieved redirects.
getRequest()  : ServerRequestInterface
Return the current PSR-7 request.
getShowHitCounter()  : bool
Returns, if hit counter should be displayed.
getStatusCodes()  : array<string|int, mixed>
Returns the status codes for the filter select box.
getView()  : ViewInterface
Returns the current view object, without controller data assigned yet.
setCreationTypes()  : void
Can be used to update which creation types are available in the filter select box.
setDemand()  : void
Can be used to set the demand object.
setHosts()  : void
Can be used to update which hosts are available in the filter select box.
setIntegrityStatusCodes()  : void
Allows to set integrity status codes. It can be used to filter for integrity status codes.
setRedirects()  : void
Can be used to set the redirects, for example, after enriching redirect fields.
setShowHitCounter()  : void
Can be used to manage, if the hit counter should be displayed.
setStatusCodes()  : void
Can be used to update which status codes are available in the filter select box.
setView()  : void
Can be used to assign additional data to the view.

Methods

__construct()

public __construct(Demand $demand, array<string|int, mixed> $redirects, array<string|int, mixed> $hosts, array<string|int, mixed> $statusCodes, array<string|int, mixed> $creationTypes, bool $showHitCounter, ViewInterface $view, ServerRequestInterface $request, array<string|int, mixed> $integrityStatusCodes) : mixed
Parameters
$demand : Demand
$redirects : array<string|int, mixed>
$hosts : array<string|int, mixed>
$statusCodes : array<string|int, mixed>
$creationTypes : array<string|int, mixed>
$showHitCounter : bool
$view : ViewInterface
$request : ServerRequestInterface
$integrityStatusCodes : array<string|int, mixed>

getCreationTypes()

Returns creation types for the filter select box.

public getCreationTypes() : array<string|int, mixed>
Return values
array<string|int, mixed>

getDemand()

Return the demand object used to retrieve the redirects.

public getDemand() : Demand
Return values
Demand

getHosts()

Returns the hosts to be used for the host filter select box.

public getHosts() : array<string|int, mixed>
Return values
array<string|int, mixed>

getIntegrityStatusCodes()

Returns all integrity status codes.

public getIntegrityStatusCodes() : array<string|int, mixed>
Return values
array<string|int, mixed>

getRedirects()

Return the retrieved redirects.

public getRedirects() : array<string|int, mixed>
Return values
array<string|int, mixed>

getRequest()

Return the current PSR-7 request.

public getRequest() : ServerRequestInterface
Return values
ServerRequestInterface

getShowHitCounter()

Returns, if hit counter should be displayed.

public getShowHitCounter() : bool
Return values
bool

getStatusCodes()

Returns the status codes for the filter select box.

public getStatusCodes() : array<string|int, mixed>
Return values
array<string|int, mixed>

setCreationTypes()

Can be used to update which creation types are available in the filter select box.

public setCreationTypes(array<string|int, mixed> $creationTypes) : void
Parameters
$creationTypes : array<string|int, mixed>

setDemand()

Can be used to set the demand object.

public setDemand(Demand $demand) : void
Parameters
$demand : Demand

setHosts()

Can be used to update which hosts are available in the filter select box.

public setHosts(array<string|int, mixed> $hosts) : void
Parameters
$hosts : array<string|int, mixed>

setIntegrityStatusCodes()

Allows to set integrity status codes. It can be used to filter for integrity status codes.

public setIntegrityStatusCodes(array<string|int, mixed> $integrityStatusCodes) : void
Parameters
$integrityStatusCodes : array<string|int, mixed>

setRedirects()

Can be used to set the redirects, for example, after enriching redirect fields.

public setRedirects(array<string|int, mixed> $redirects) : void
Parameters
$redirects : array<string|int, mixed>

setShowHitCounter()

Can be used to manage, if the hit counter should be displayed.

public setShowHitCounter(bool $showHitCounter) : void
Parameters
$showHitCounter : bool

setStatusCodes()

Can be used to update which status codes are available in the filter select box.

public setStatusCodes(array<string|int, mixed> $statusCodes) : void
Parameters
$statusCodes : array<string|int, mixed>

        
On this page

Search results