PHP Class Sulu\Bundle\WebsiteBundle\Sitemap\XmlSitemapRenderer

Inheritance: implements Sulu\Bundle\WebsiteBundle\Sitemap\XmlSitemapRendererInterface
Datei anzeigen Open project: sulu/sulu

Public Methods

Method Description
__construct ( Sulu\Bundle\WebsiteBundle\Sitemap\SitemapProviderPoolInterface $sitemapProviderPool, Symfony\Bundle\FrameworkBundle\Templating\EngineInterface $engine )
renderIndex ( $domain = null, $scheme = null )
renderSitemap ( $alias, $page, $locale, Portal $portal, $host, $scheme )

Private Methods

Method Description
needsIndex ( ) : boolean Returns true if a index exists.
render ( string $view, array $parameters = [] ) : string Renders a view.

Method Details

__construct() public method

public __construct ( Sulu\Bundle\WebsiteBundle\Sitemap\SitemapProviderPoolInterface $sitemapProviderPool, Symfony\Bundle\FrameworkBundle\Templating\EngineInterface $engine )
$sitemapProviderPool Sulu\Bundle\WebsiteBundle\Sitemap\SitemapProviderPoolInterface
$engine Symfony\Bundle\FrameworkBundle\Templating\EngineInterface

renderIndex() public method

public renderIndex ( $domain = null, $scheme = null )

renderSitemap() public method

public renderSitemap ( $alias, $page, $locale, Portal $portal, $host, $scheme )
$portal Sulu\Component\Webspace\Portal