PHP Interface Sulu\Bundle\WebsiteBundle\Sitemap\SitemapProviderPoolInterface

Show file Open project: sulu/sulu Interface Usage Examples

Public Methods

Method Description
getIndex ( ) : Sitemap[] Returns list of available sitemaps.
getProvider ( string $alias ) : Sulu\Bundle\WebsiteBundle\Sitemap\SitemapProviderInterface Returns provider for given alias.
getProviders ( ) : Sulu\Bundle\WebsiteBundle\Sitemap\SitemapProviderInterface[] Returns all providers.
hasProvider ( string $alias ) : boolean Indicates that the provider with alias exists.

Method Details

getIndex() public method

Returns list of available sitemaps.
public getIndex ( ) : Sitemap[]
return Sitemap[]

getProvider() public method

Returns provider for given alias.
public getProvider ( string $alias ) : Sulu\Bundle\WebsiteBundle\Sitemap\SitemapProviderInterface
$alias string
return Sulu\Bundle\WebsiteBundle\Sitemap\SitemapProviderInterface

getProviders() public method

Returns all providers.
public getProviders ( ) : Sulu\Bundle\WebsiteBundle\Sitemap\SitemapProviderInterface[]
return Sulu\Bundle\WebsiteBundle\Sitemap\SitemapProviderInterface[]

hasProvider() public method

Indicates that the provider with alias exists.
public hasProvider ( string $alias ) : boolean
$alias string
return boolean