RedirectStatus

readonly class \TYPO3\CMS\Redirects\Report\Status\RedirectStatus

Implements
StatusProviderInterface, RequestAwareStatusProviderInterface

Performs checks regarding redirects

Attributes

#[Autoconfigure]
$public: true

Table of Contents

Interfaces

StatusProviderInterface
Interface for classes which provide a status report entry.
RequestAwareStatusProviderInterface
Interface for classes which provide a status report entry using information from the current request

Properties

$backendViewFactory  : BackendViewFactory
$checkIntegrityConfiguration  : CheckIntegrityConfiguration
$redirectRepository  : RedirectRepository
$registry  : Registry

Methods

__construct()  : mixed
getLabel()  : string
Return label of this status
getStatus()  : Status[]
Determines the status of redirect conflicts and shows an info status in some cases in case redirects:checkintegrity was not run lately.
getCheckIntegrityLastCheckTimestamp()  : int
getConflictingRedirects()  : array
getConflictingRedirectsStatus()  : Status
getLanguageService()  : LanguageService
getLastCheckIntegrityStatus()  : Status|null
getNoRedirectsStatus()  : Status

Properties

Methods

getLabel()

Return label of this status

public getLabel() : string

Return values

string

getStatus()

Determines the status of redirect conflicts and shows an info status in some cases in case redirects:checkintegrity was not run lately.

public getStatus([ServerRequestInterface|null $request = null ]) : Status[]

OK if no redirects OR no redirect conflicts WARNING if conflicts found

Additionally: INFO if checkintegrity was not run and redirects exist

Parameters

$request : ServerRequestInterface|null = null

Return values

Status[]

getCheckIntegrityLastCheckTimestamp()

protected getCheckIntegrityLastCheckTimestamp() : int

Return values

int

getConflictingRedirects()

protected getConflictingRedirects() : array

Return values

array

getConflictingRedirectsStatus()

protected getConflictingRedirectsStatus(ServerRequestInterface $request) : Status

Parameters

$request : ServerRequestInterface

Return values

Status

getLastCheckIntegrityStatus()

protected getLastCheckIntegrityStatus() : Status|null

Return values

Status|null

getNoRedirectsStatus()

protected getNoRedirectsStatus(ServerRequestInterface $request) : Status

Parameters

$request : ServerRequestInterface

Return values

Status
On this page