SlugRedirectChangeItem
FinalYes
This class contains data on the journey through the auto-create-redirects path. It may be also included as information in a PSR-14 event, if needed.
This class is a specific data container for slug service handling and is not part of the public TYPO3 API.
Table of Contents
Methods
- __construct() : mixed
- getChanged() : array<string|int, mixed>|null
- getDefaultLanguagePageId() : int
- getOriginal() : array<string|int, mixed>
- getPageId() : int
- getSite() : Site
- getSiteLanguage() : SiteLanguage
- getSourcesCollection() : RedirectSourceCollection
- withChanged() : self
- withSourcesCollection() : self
Methods
__construct()
public
__construct(int $defaultLanguagePageId, int $pageId, Site $site, SiteLanguage $siteLanguage, array<string|int, mixed> $original, RedirectSourceCollection $sourcesCollection[, array<string|int, mixed>|null $changed = null ]) : mixed
Parameters
- $defaultLanguagePageId : int
- $pageId : int
- $site : Site
- $siteLanguage : SiteLanguage
- $original : array<string|int, mixed>
- $sourcesCollection : RedirectSourceCollection
- $changed : array<string|int, mixed>|null = null
getChanged()
public
getChanged() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|nullgetDefaultLanguagePageId()
public
getDefaultLanguagePageId() : int
Return values
intgetOriginal()
public
getOriginal() : array<string|int, mixed>
Return values
array<string|int, mixed>getPageId()
public
getPageId() : int
Return values
intgetSite()
public
getSite() : Site
Return values
SitegetSiteLanguage()
public
getSiteLanguage() : SiteLanguage
Return values
SiteLanguagegetSourcesCollection()
public
getSourcesCollection() : RedirectSourceCollection
Return values
RedirectSourceCollectionwithChanged()
public
withChanged(array<string|int, mixed> $changed) : self
Parameters
- $changed : array<string|int, mixed>
Return values
selfwithSourcesCollection()
public
withSourcesCollection(RedirectSourceCollection $sourcesCollection) : self
Parameters
- $sourcesCollection : RedirectSourceCollection