PHP Class Sulu\Bundle\WebsiteBundle\Sitemap\XmlSitemapDumper

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

Public Methods

Method Description
__construct ( Sulu\Bundle\WebsiteBundle\Sitemap\XmlSitemapRendererInterface $sitemapRenderer, Sulu\Bundle\WebsiteBundle\Sitemap\SitemapProviderPoolInterface $sitemapProviderPool, Symfony\Component\Filesystem\Filesystem $filesystem, string $baseDirectory, string $defaultHost )
dumpPortalInformation ( PortalInformation $portalInformation, $scheme )
getDumpPath ( $scheme, $webspaceKey, $locale, $url, $alias, $page )
getIndexDumpPath ( $scheme, $webspaceKey, $locale, $url )

Private Methods

Method Description
dumpFile ( string $filePath, string $content ) Dump content into given filename.
dumpProviderSitemap ( string $alias, PortalInformation $portalInformation, string $scheme ) Render sitemap for provider.

Method Details

__construct() public method

public __construct ( Sulu\Bundle\WebsiteBundle\Sitemap\XmlSitemapRendererInterface $sitemapRenderer, Sulu\Bundle\WebsiteBundle\Sitemap\SitemapProviderPoolInterface $sitemapProviderPool, Symfony\Component\Filesystem\Filesystem $filesystem, string $baseDirectory, string $defaultHost )
$sitemapRenderer Sulu\Bundle\WebsiteBundle\Sitemap\XmlSitemapRendererInterface
$sitemapProviderPool Sulu\Bundle\WebsiteBundle\Sitemap\SitemapProviderPoolInterface
$filesystem Symfony\Component\Filesystem\Filesystem
$baseDirectory string
$defaultHost string

dumpPortalInformation() public method

public dumpPortalInformation ( PortalInformation $portalInformation, $scheme )
$portalInformation Sulu\Component\Webspace\PortalInformation

getDumpPath() public method

public getDumpPath ( $scheme, $webspaceKey, $locale, $url, $alias, $page )

getIndexDumpPath() public method

public getIndexDumpPath ( $scheme, $webspaceKey, $locale, $url )