RecordsXmlSitemapDataProvider
class \
- Implements
- XmlSitemapDataProviderInterface
XmlSiteDataProvider will provide information for the XML sitemap for a specific database table
Internal
this class is not part of TYPO3's Core API.
Table of Contents
Interfaces
- XmlSitemapDataProviderInterface
- Interface for XmlSitemapDataProviders, which are called by the XmlSitemapRenderer.
Properties
- $connectionPool : ConnectionPool
- $context : Context
- $pageRepository : PageRepository
- $tcaSchemaFactory : TcaSchemaFactory
Methods
- __construct() : mixed
- getSitemap() : XmlSitemap
- defineUrl() : array
- generateItems() : array
- getCurrentWorkspaceAspect() : WorkspaceAspect
- getLanguageId() : int
- getUrlAdditionalParams() : array
- getUrlFieldParameterMap() : array
Properties
$connectionPool read-only
protected
ConnectionPool
$connectionPool
$context read-only
protected
Context
$context
$pageRepository read-only
protected
PageRepository
$pageRepository
$tcaSchemaFactory read-only
protected
TcaSchemaFactory
$tcaSchemaFactory
Methods
__construct()
public
__construct(Context $context, ConnectionPool $connectionPool, PageRepository $pageRepository, TcaSchemaFactory $tcaSchemaFactory) : mixed
Parameters
- $context : Context
- $connectionPool : ConnectionPool
- $pageRepository : PageRepository
- $tcaSchemaFactory : TcaSchemaFactory
getSitemap()
public
getSitemap(XmlSitemapRequest $sitemapRequest) : XmlSitemap
Parameters
- $sitemapRequest : XmlSitemapRequest
Return values
XmlSitemapdefineUrl()
protected
defineUrl(array $data, XmlSitemapRequest $sitemapRequest) : array
Parameters
- $data : array
- $sitemapRequest : XmlSitemapRequest
Return values
arraygenerateItems()
protected
generateItems(XmlSitemapRequest $sitemapRequest) : array
Parameters
- $sitemapRequest : XmlSitemapRequest
Tags
Return values
arraygetCurrentWorkspaceAspect()
protected
getCurrentWorkspaceAspect() : WorkspaceAspect
Return values
WorkspaceAspectgetLanguageId()
protected
getLanguageId() : int
Return values
intgetUrlAdditionalParams()
protected
getUrlAdditionalParams(array $additionalParams, array $configuration) : array
Parameters
- $additionalParams : array
- $configuration : array
Return values
arraygetUrlFieldParameterMap()
protected
getUrlFieldParameterMap(array $data, array $configuration) : array
Parameters
- $data : array
- $configuration : array