class StandardSitemapProvider implements ProviderInterface (View source)

Properties

protected string $permissionsIgnored
protected CookieJar $cookieJar
protected Request $request
protected Application $app
protected Service $siteService

Methods

__construct(Application $app, CookieJar $cookies, Service $siteService)

StandardSitemapProvider constructor.

ignorePermissions()

Ignore the permissions.

getTreeCollection(Tree $selectedTree = null)

No description

bool
includeMenuInResponse()

No description

Tree|null
getRequestedSiteTree()

No description

getRequestedNodes()

No description

bool
useGroups(Site[] $sites)

No description

bool
checkPermissions(TreeInterface $object)

No description

bool
useLocales(Site[] $sites)

No description

getSitemapDataProvider()

No description

Details

__construct(Application $app, CookieJar $cookies, Service $siteService)

StandardSitemapProvider constructor.

Parameters

Application $app
CookieJar $cookies
Service $siteService

ignorePermissions()

Ignore the permissions.

TreeCollectionInterface getTreeCollection(Tree $selectedTree = null)

No description

Parameters

Tree $selectedTree

Return Value

TreeCollectionInterface

See also

ProviderInterface::getTreeCollection

bool includeMenuInResponse()

No description

Return Value

bool

See also

ProviderInterface::includeMenuInResponse

Tree|null getRequestedSiteTree()

No description

stdClass[] getRequestedNodes()

No description

protected bool useGroups(Site[] $sites)

No description

Parameters

Site[] $sites

Return Value

bool

protected bool checkPermissions(TreeInterface $object)

No description

Parameters

TreeInterface $object

Return Value

bool

protected bool useLocales(Site[] $sites)

No description

Parameters

Site[] $sites

Return Value

bool

protected Sitemap getSitemapDataProvider()

No description

Return Value

Sitemap