‪TYPO3CMS  9.5
TYPO3\CMS\Seo\XmlSitemap\XmlSitemapRenderer Class Reference

Public Member Functions

 __construct ()
 
string render ()
 

Protected Member Functions

string renderIndex (ServerRequestInterface $request)
 
string renderSitemap (ServerRequestInterface $request, string $sitemap)
 
TYPO3 CMS Fluid View StandaloneView getStandaloneView ()
 

Protected Attributes

array $configuration
 
TYPO3 CMS Fluid View StandaloneView $view
 

Private Member Functions

array getConfiguration ()
 

Detailed Description

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

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

Definition at line 32 of file XmlSitemapRenderer.php.

Constructor & Destructor Documentation

◆ __construct()

Member Function Documentation

◆ getConfiguration()

array TYPO3\CMS\Seo\XmlSitemap\XmlSitemapRenderer::getConfiguration ( )
private

◆ getStandaloneView()

◆ render()

string TYPO3\CMS\Seo\XmlSitemap\XmlSitemapRenderer::render ( )
Returns
‪string
Exceptions
InvalidConfigurationException

Definition at line 58 of file XmlSitemapRenderer.php.

References $GLOBALS, TYPO3\CMS\Seo\XmlSitemap\XmlSitemapRenderer\renderIndex(), and TYPO3\CMS\Seo\XmlSitemap\XmlSitemapRenderer\renderSitemap().

◆ renderIndex()

string TYPO3\CMS\Seo\XmlSitemap\XmlSitemapRenderer::renderIndex ( ServerRequestInterface  $request)
protected
Parameters
\Psr\Http\Message\ServerRequestInterface$request
Returns
‪string

Definition at line 74 of file XmlSitemapRenderer.php.

Referenced by TYPO3\CMS\Seo\XmlSitemap\XmlSitemapRenderer\render().

◆ renderSitemap()

string TYPO3\CMS\Seo\XmlSitemap\XmlSitemapRenderer::renderSitemap ( ServerRequestInterface  $request,
string  $sitemap 
)
protected
Parameters
\Psr\Http\Message\ServerRequestInterface$request
string$sitemap
Returns
‪string
Exceptions

Definition at line 112 of file XmlSitemapRenderer.php.

Referenced by TYPO3\CMS\Seo\XmlSitemap\XmlSitemapRenderer\render().

Member Data Documentation

◆ $configuration

array TYPO3\CMS\Seo\XmlSitemap\XmlSitemapRenderer::$configuration
protected

Definition at line 36 of file XmlSitemapRenderer.php.

◆ $view

TYPO3 CMS Fluid View StandaloneView TYPO3\CMS\Seo\XmlSitemap\XmlSitemapRenderer::$view
protected