PHP Interface Sulu\Bundle\WebsiteBundle\Twig\Sitemap\SitemapTwigExtensionInterface

Inheritance: extends Twig_ExtensionInterface
Datei anzeigen Open project: sulu/sulu Interface Usage Examples

Public Methods

Method Description
sitemapFunction ( $locale = null, $webspaceKey = null ) Returns full sitemap of webspace and language from the content.
sitemapUrlFunction ( $url, $locale = null, $webspaceKey = null ) Returns prefixed resourcelocator with the url and locale.

Method Details

sitemapFunction() public method

Returns full sitemap of webspace and language from the content.
public sitemapFunction ( $locale = null, $webspaceKey = null )

sitemapUrlFunction() public method

Returns prefixed resourcelocator with the url and locale.
public sitemapUrlFunction ( $url, $locale = null, $webspaceKey = null )