XmlSitemapRenderer

Class to render the XML Sitemap to be used as a UserFunction

Internal

this class is not part of TYPO3's Core API.

Table of Contents

Properties

$configuration  : array<string|int, mixed>
$typoScriptService  : TypoScriptService
$view  : StandaloneView

Methods

__construct()  : mixed
render()  : string
getStandaloneView()  : StandaloneView
getXslFilePath()  : string
initialize()  : mixed
renderIndex()  : string
renderSitemap()  : string

Properties

$configuration

protected array<string|int, mixed> $configuration

Methods

render()

public render(string $_, array<string|int, mixed> $typoScriptConfiguration, ServerRequestInterface $request) : string
Parameters
$_ : string

unused, but needed as this is called via userfunc and passes a string as first parameter

$typoScriptConfiguration : array<string|int, mixed>

TypoScript configuration specified in USER Content Object

$request : ServerRequestInterface
Tags
throws
InvalidConfigurationException
Return values
string

getXslFilePath()

protected getXslFilePath([string|null $sitemapType = null ][, string|null $sitemap = null ]) : string
Parameters
$sitemapType : string|null = null
$sitemap : string|null = null
Return values
string

initialize()

protected initialize(array<string|int, mixed> $fullConfiguration) : mixed
Parameters
$fullConfiguration : array<string|int, mixed>

renderIndex()

protected renderIndex(ServerRequestInterface $request, string $sitemapType) : string
Parameters
$request : ServerRequestInterface
$sitemapType : string
Return values
string

renderSitemap()

protected renderSitemap(ServerRequestInterface $request, string $sitemap, string $sitemapType) : string
Parameters
$request : ServerRequestInterface
$sitemap : string
$sitemapType : string
Tags
throws
InvalidConfigurationException
Return values
string

        
On this page

Search results