AbstractXmlSitemapDataProvider

abstract class \TYPO3\CMS\Seo\XmlSitemap\AbstractXmlSitemapDataProvider

Implements
XmlSitemapDataProviderInterface

Base class for XmlSitemapProviders to extend

Table of Contents

Interfaces

XmlSitemapDataProviderInterface
Interface for XmlSitemapDataProviders containing the methods that are called by the XmlSitemapRenderer

Properties

$cObj  : ContentObjectRenderer
$config  : array
$items  : array
$key  : string
$lastModified  : int
$numberOfItemsPerPage  : int
$request  : ServerRequestInterface

Methods

__construct()  : mixed
AbstractXmlSitemapDataProvider constructor
getItems()  : array
getKey()  : string
getLastModified()  : int
getNumberOfPages()  : int
defineUrl()  : array

Properties

$numberOfItemsPerPage

protected int $numberOfItemsPerPage = 1000

$request

protected ServerRequestInterface $request

Methods

__construct()

AbstractXmlSitemapDataProvider constructor

public __construct(ServerRequestInterface $request, string $key[, array $config = [] ][, ContentObjectRenderer $cObj = null ]) : mixed

Parameters

$request : ServerRequestInterface
$key : string
$config : array = []
$cObj : ContentObjectRenderer = null

getItems()

public getItems() : array

Return values

array

getKey()

public getKey() : string

Return values

string

getLastModified()

public getLastModified() : int

Return values

int

getNumberOfPages()

public getNumberOfPages() : int

Return values

int

defineUrl()

protected defineUrl(array $data) : array

Parameters

$data : array

Return values

array
On this page