ModifyRedirectManagementControllerViewDataEvent

final class \TYPO3\CMS\Redirects\Event\ModifyRedirectManagementControllerViewDataEvent

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
Returns creation types for the filter select box.
getDemand()  : Demand
Return the demand object used to retrieve the redirects.
getHosts()  : array
Returns the hosts to be used for the host filter select box.
getIntegrityStatusCodes()  : array
Returns all integrity status codes.
getRedirects()  : array
Return the retrieved redirects.
getRequest()  : ServerRequestInterface
Return the current PSR-7 request.
getShowHitCounter()  : bool
Returns, if hit counter should be displayed.
getStatusCodes()  : array
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 $redirects, array $hosts, array $statusCodes, array $creationTypes, bool $showHitCounter, ViewInterface $view, ServerRequestInterface $request, array $integrityStatusCodes) : mixed

Parameters

$demand : Demand
$redirects : array
$hosts : array
$statusCodes : array
$creationTypes : array
$showHitCounter : bool
$view : ViewInterface
$request : ServerRequestInterface
$integrityStatusCodes : array

getCreationTypes()

Returns creation types for the filter select box.

public getCreationTypes() : array

Return values

array

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

Return values

array

getIntegrityStatusCodes()

Returns all integrity status codes.

public getIntegrityStatusCodes() : array

Return values

array

getRedirects()

Return the retrieved redirects.

public getRedirects() : array

Return values

array

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

Return values

array

setCreationTypes()

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

public setCreationTypes(array $creationTypes) : void

Parameters

$creationTypes : array

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 $hosts) : void

Parameters

$hosts : array

setIntegrityStatusCodes()

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

public setIntegrityStatusCodes(array $integrityStatusCodes) : void

Parameters

$integrityStatusCodes : array

setRedirects()

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

public setRedirects(array $redirects) : void

Parameters

$redirects : array

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 $statusCodes) : void

Parameters

$statusCodes : array
On this page