RecordsXmlSitemapDataProvider extends AbstractXmlSitemapDataProvider
XmlSiteDataProvider will provide information for the XML sitemap for a specific database table
this class is not part of TYPO3's Core API.
Table of Contents
Properties
- $cObj : ContentObjectRenderer
- $config : array<string|int, mixed>
- $items : array<string|int, mixed>
- $key : string
- $lastModified : int
- $numberOfItemsPerPage : int
- $request : ServerRequestInterface
Methods
- __construct() : mixed
- AbstractXmlSitemapDataProvider constructor
- generateItems() : void
- getItems() : array<string|int, mixed>
- getKey() : string
- getLastModified() : int
- getNumberOfPages() : int
- defineUrl() : array<string|int, mixed>
- getCurrentWorkspaceAspect() : WorkspaceAspect
- getLanguageId() : int
- getUrlAdditionalParams() : array<string|int, mixed>
- getUrlFieldParameterMap() : array<string|int, mixed>
Properties
$cObj
protected
ContentObjectRenderer
$cObj
$config
protected
array<string|int, mixed>
$config
= []
$items
protected
array<string|int, mixed>
$items
= []
$key
protected
string
$key
$lastModified
protected
int
$lastModified
$numberOfItemsPerPage
protected
int
$numberOfItemsPerPage
= 1000
$request
protected
ServerRequestInterface
$request
Methods
__construct()
AbstractXmlSitemapDataProvider constructor
public
__construct(ServerRequestInterface $request, string $key[, array<string|int, mixed> $config = [] ][, ContentObjectRenderer|null $cObj = null ]) : mixed
Parameters
- $request : ServerRequestInterface
- $key : string
- $config : array<string|int, mixed> = []
- $cObj : ContentObjectRenderer|null = null
Tags
generateItems()
public
generateItems() : void
Tags
getItems()
public
getItems() : array<string|int, mixed>
Return values
array<string|int, mixed>getKey()
public
getKey() : string
Return values
stringgetLastModified()
public
getLastModified() : int
Return values
intgetNumberOfPages()
public
getNumberOfPages() : int
Return values
intdefineUrl()
protected
defineUrl(array<string|int, mixed> $data) : array<string|int, mixed>
Parameters
- $data : array<string|int, mixed>
Return values
array<string|int, mixed>getCurrentWorkspaceAspect()
protected
getCurrentWorkspaceAspect() : WorkspaceAspect
Return values
WorkspaceAspectgetLanguageId()
protected
getLanguageId() : int
Tags
Return values
intgetUrlAdditionalParams()
protected
getUrlAdditionalParams(array<string|int, mixed> $additionalParams) : array<string|int, mixed>
Parameters
- $additionalParams : array<string|int, mixed>
Return values
array<string|int, mixed>getUrlFieldParameterMap()
protected
getUrlFieldParameterMap(array<string|int, mixed> $additionalParams, array<string|int, mixed> $data) : array<string|int, mixed>
Parameters
- $additionalParams : array<string|int, mixed>
- $data : array<string|int, mixed>