XmlSitemapDataProviderInterface
Interface for XmlSitemapDataProviders containing the methods that are called by the XmlSitemapRenderer
Table of Contents
Methods
- __construct() : mixed
- getItems() : array<string|int, mixed>
- getKey() : string
- getLastModified() : int
- getNumberOfPages() : int
Methods
__construct()
public
__construct(ServerRequestInterface $request, string $name[, array<string|int, mixed> $config = [] ][, ContentObjectRenderer|null $cObj = null ]) : mixed
Parameters
- $request : ServerRequestInterface
- $name : string
- $config : array<string|int, mixed> = []
- $cObj : ContentObjectRenderer|null = null
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