SlugRedirectChangeItem
final class \
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.
Internal
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|null
- getDefaultLanguagePageId() : int
- getOriginal() : array
- 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 $original, RedirectSourceCollection $sourcesCollection[, array|null $changed = null ]) : mixed
Parameters
- $defaultLanguagePageId : int
- $pageId : int
- $site : Site
- $siteLanguage : SiteLanguage
- $original : array
- $sourcesCollection : RedirectSourceCollection
- $changed : array|null = null
getChanged()
public
getChanged() : array|null
Return values
array|nullgetDefaultLanguagePageId()
public
getDefaultLanguagePageId() : int
Return values
intgetOriginal()
public
getOriginal() : array
Return values
arraygetPageId()
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 $changed) : self
Parameters
- $changed : array
Return values
selfwithSourcesCollection()
public
withSourcesCollection(RedirectSourceCollection $sourcesCollection) : self
Parameters
- $sourcesCollection : RedirectSourceCollection