\SiteMapPage
Generates a sitemap for a silverstripe site.
Display filtering is dependant on the canSiteMap
of the page or through the updateCanSiteMap when decorating
@author Ryan Cotter
@author Michael Bollig
@package sitemap3
Synopsis
class SiteMapPage
extends Page
{
- // members
- private static string $icon = "sitemap3/images/treeicons/sitemap-file.png";
- // methods
- public static void getSiteMap()
- public static void SiteMapShortCodeHandler()
- public void requireDefaultRecords()
- public void onBeforeWrite()
Hierarchy
Extends
- Page
Tasks
Line | Task |
---|---|
103 | This does not check for whether this SiteMapPage is an orphan or not |
Members
private
- $icon
Methods
public
- SiteMapShortCodeHandler() — Parses a {@link SiteMapPage}'s shortcode
- getSiteMap() — Retrieves a map of a page and it's direct descendants
- onBeforeWrite() — Adds default page title as set in Lang to the page when created using the CMS.
- requireDefaultRecords() — Creates a SiteMapPage at the top level when the database is built.