PHP Class Sulu\Bundle\WebsiteBundle\Sitemap\SitemapGenerator

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

Public Methods

Method Description
__construct ( Sulu\Component\Content\Query\ContentQueryExecutorInterface $contentQuery, Sulu\Component\Webspace\Manager\WebspaceManagerInterface $webspaceManager, Sulu\Component\Content\Query\ContentQueryBuilderInterface $contentQueryBuilder )
generate ( $webspaceKey, $locale, $flat = false )
generateAllLocals ( $webspaceKey, $flat = false )

Private Methods

Method Description
generateByLocals ( string $webspaceKey, array $locales, boolean $flat = false ) : array
getWebspaceSitemap ( $webspaceKey ) : WebspaceSitemap

Method Details

__construct() public method

public __construct ( Sulu\Component\Content\Query\ContentQueryExecutorInterface $contentQuery, Sulu\Component\Webspace\Manager\WebspaceManagerInterface $webspaceManager, Sulu\Component\Content\Query\ContentQueryBuilderInterface $contentQueryBuilder )
$contentQuery Sulu\Component\Content\Query\ContentQueryExecutorInterface
$webspaceManager Sulu\Component\Webspace\Manager\WebspaceManagerInterface
$contentQueryBuilder Sulu\Component\Content\Query\ContentQueryBuilderInterface

generate() public method

public generate ( $webspaceKey, $locale, $flat = false )

generateAllLocals() public method

public generateAllLocals ( $webspaceKey, $flat = false )