AbstractXmlSitemapDataProvider implements XmlSitemapDataProviderInterface

AbstractYes

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<string|int, mixed>
$items  : array<string|int, mixed>
$key  : string
$numberOfItemsPerPage  : int
$request  : ServerRequestInterface

Methods

__construct()  : mixed
getItems()  : array<string|int, mixed>
getKey()  : string
getLastModified()  : int
getNumberOfPages()  : int
defineUrl()  : array<string|int, mixed>

Properties

$config

protected array<string|int, mixed> $config = []

$items

protected array<string|int, mixed> $items = []

$numberOfItemsPerPage

protected int $numberOfItemsPerPage = 1000

$request

protected ServerRequestInterface $request

Methods

__construct()

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

getItems()

public getItems() : array<string|int, mixed>
Return values
array<string|int, mixed>

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<string|int, mixed> $data) : array<string|int, mixed>
Parameters
$data : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results