PHP Класс Sulu\Bundle\WebsiteBundle\Sitemap\XmlSitemapDumper

Наследование: implements Sulu\Bundle\WebsiteBundle\Sitemap\XmlSitemapDumperInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
__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 )

Приватные методы

Метод Описание
dumpFile ( string $filePath, string $content ) Dump content into given filename.
dumpProviderSitemap ( string $alias, PortalInformation $portalInformation, string $scheme ) Render sitemap for provider.

Описание методов

__construct() публичный Метод

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 dumpPortalInformation ( PortalInformation $portalInformation, $scheme )
$portalInformation Sulu\Component\Webspace\PortalInformation

getDumpPath() публичный Метод

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

getIndexDumpPath() публичный Метод

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