PHP Interface Sulu\Bundle\WebsiteBundle\Sitemap\XmlSitemapRendererInterface

Exibir arquivo Open project: sulu/sulu Interface Usage Examples

Public Methods

Method Description
renderIndex ( string $domain = null, string $scheme = null ) : null | string Render sitemap-index.
renderSitemap ( string $alias, integer $page, string $locale, Portal $portal, string $host, string $scheme ) : null | string Render sitemap for a given alias.

Method Details

renderIndex() public method

If returns null there is no index available.
public renderIndex ( string $domain = null, string $scheme = null ) : null | string
$domain string if null current will be used
$scheme string if null current will be used
return null | string

renderSitemap() public method

If returns null there is no sitemap available.
public renderSitemap ( string $alias, integer $page, string $locale, Portal $portal, string $host, string $scheme ) : null | string
$alias string
$page integer
$locale string
$portal Sulu\Component\Webspace\Portal
$host string
$scheme string
return null | string