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)

Parameters

Tree $selectedTree

Return Value

TreeCollectionInterface

See also

\Concrete\Core\Application\UserInterface\Sitemap\ProviderInterface::getTreeCollection()

bool includeMenuInResponse()

Return Value

bool

See also

\Concrete\Core\Application\UserInterface\Sitemap\ProviderInterface::includeMenuInResponse()

Tree|null getRequestedSiteTree()

Return Value

Tree|null

See also

\Concrete\Core\Application\UserInterface\Sitemap\ProviderInterface::getRequestedSiteTree()

stdClass[] getRequestedNodes()

Return Value

stdClass[]

See also

\Concrete\Core\Application\UserInterface\Sitemap\ProviderInterface::getRequestedNodes()

protected bool useGroups(Site[] $sites)

Parameters

Site[] $sites

Return Value

bool

protected bool checkPermissions(TreeInterface $object)

Parameters

TreeInterface $object

Return Value

bool

protected bool useLocales(Site[] $sites)

Parameters

Site[] $sites

Return Value

bool

protected Sitemap getSitemapDataProvider()

Return Value

Sitemap