DeprecatedPageListGenerator deprecated
class DeprecatedPageListGenerator extends PageListGenerator (View source)
deprecated
Properties
protected Application | $app | from PageListGenerator | |
private Site|null|false | $site | from PageListGenerator | |
private Section[]|null | $multilingualSections | from PageListGenerator | |
private bool|null | $isMultilingualEnabled | from PageListGenerator | |
private Connection|null | $connection | from PageListGenerator | |
private Dashboard|null | $dashboardHelper | from PageListGenerator | |
private DateTime|null | $now | from PageListGenerator | |
private PageKey|null|false | $excludeFromSiteMapAttributeKey | from PageListGenerator | |
private PageKey|null|false | $viewPagePermissionKey | from PageListGenerator | |
private Group|null|false | $visitorsUserGroup | from PageListGenerator | |
private GroupEntity|null|false | $visitorsUserGroupAccessEntity | from PageListGenerator | |
private callable|null | $deprecatedChecker | ||
private array|null | $instances |
Methods
Get the approximage numnber of pages that will be included in the sitemap (the actual value can be lower than it).
Generate the list of pages that should be included in the sitemap.
Check if the current site has more than one multilingual section.
Get the multilingual section where a page resides (if any).
Get the list of multilingual sections defined for the current site.
No description
No description
Details
__construct(Application $app)
Initialize the instance.
int
getApproximatePageCount()
Get the approximage numnber of pages that will be included in the sitemap (the actual value can be lower than it).
Page|Generator
generatePageList()
Generate the list of pages that should be included in the sitemap.
bool
isMultilingualEnabled()
Check if the current site has more than one multilingual section.
Section|null
getMultilingualSectionForPage(Page $page)
Get the multilingual section where a page resides (if any).
Section[]
getMultilingualSections()
Get the list of multilingual sections defined for the current site.
bool
canIncludePageInSitemap(Page $page)
Should a page be included in the sitemap?
Site|null
getSite()
Get the currently used site.
$this
setSite(Site $site)
Set the currently used site.
protected DateTime
getNow()
No description
protected PageKey|null
getExcludeFromSiteMapAttributeKey()
No description
protected PageKey|null
getViewPagePermissionKey()
No description
protected Group|null
getVisitorsUserGroup()
No description
protected GroupEntity|null
getVisitorsUserGroupAccessEntity()
No description
protected Connection
getConnection()
No description
protected Dashboard
getDashboardHelper()
No description
protected int[]
getSiteTreesIDList()
No description
protected bool
isPageStandard(Page $page)
No description
protected bool
isPagePublished(Page $page)
No description
protected bool
isPageExcludedFromSitemap(Page $page)
No description
protected bool
isPageAccessible(Page $page)
No description
setDeprecatedChecker(callable $deprecatedChecker)
No description
private array
getInstances()
No description