C# Class Sdl.Web.Tridion.Templates.GenerateSiteMap

Inheritance: Sdl.Web.Tridion.Common.TemplateBase
Datei anzeigen Open project: sdl/dxa-content-management

Public Methods

Method Description
Transform ( Engine engine, Package package ) : void

Protected Methods

Method Description
GetNavigationTitle ( StructureGroup sg ) : string
GetUrl ( Page page ) : string
StripPrefix ( string title ) : string

Private Methods

Method Description
GenerateStructureGroupNavigation ( StructureGroup structureGroup ) : Sdl.Web.Tridion.Templates.SitemapItem
GetExtensionlessUrl ( string url ) : string
GetNavTextFromPageComponents ( Page page ) : string
GetNavTitleFromComponent ( Component component ) : string
GetNavTitleFromField ( string fieldname, IEnumerable data ) : string
GetNavigationConfiguration ( Component navConfigComponent ) : Sdl.Web.Tridion.Templates.NavigationConfig
GetNavigationTitle ( Page page ) : string
GetPublishedDate ( Page page, TargetType targetType ) : DateTime?
GetXPathFromFieldName ( string fieldname ) : string
IsPublished ( Page page ) : bool
IsVisible ( string title ) : bool

Method Details

GetNavigationTitle() protected method

protected GetNavigationTitle ( StructureGroup sg ) : string
sg StructureGroup
return string

GetUrl() protected method

protected GetUrl ( Page page ) : string
page Page
return string

StripPrefix() protected method

protected StripPrefix ( string title ) : string
title string
return string

Transform() public method

public Transform ( Engine engine, Package package ) : void
engine Engine
package Package
return void