XmlSitemapRenderer
Class to render the XML Sitemap to be used as a UserFunction
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
$typoScriptService
protected
TypoScriptService
$typoScriptService
$view
protected
StandaloneView
$view
Methods
__construct()
public
__construct(TypoScriptService $typoScriptService) : mixed
Parameters
- $typoScriptService : TypoScriptService
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
Return values
stringgetStandaloneView()
protected
getStandaloneView() : StandaloneView
Return values
StandaloneViewgetXslFilePath()
protected
getXslFilePath([string|null $sitemapType = null ][, string|null $sitemap = null ]) : string
Parameters
- $sitemapType : string|null = null
- $sitemap : string|null = null
Return values
stringinitialize()
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
stringrenderSitemap()
protected
renderSitemap(ServerRequestInterface $request, string $sitemap, string $sitemapType) : string
Parameters
- $request : ServerRequestInterface
- $sitemap : string
- $sitemapType : string