PHP Interface Sulu\Bundle\WebsiteBundle\Sitemap\SitemapGeneratorInterface

Mostra file Open project: sulu/sulu Interface Usage Examples

Public Methods

Method Description
generate ( string $webspaceKey, string $locale, boolean $flat = false ) : WebspaceSitemap Generates a sitemap for given webspace.
generateAllLocals ( string $webspaceKey, boolean $flat = false ) : WebspaceSitemap Generates a sitemap over all languages in webspace.

Method Details

generate() public method

Generates a sitemap for given webspace.
public generate ( string $webspaceKey, string $locale, boolean $flat = false ) : WebspaceSitemap
$webspaceKey string
$locale string
$flat boolean
return WebspaceSitemap

generateAllLocals() public method

Generates a sitemap over all languages in webspace.
public generateAllLocals ( string $webspaceKey, boolean $flat = false ) : WebspaceSitemap
$webspaceKey string
$flat boolean
return WebspaceSitemap