Click or drag to resize
PageRoutingHelper Class
Provides helper methods for page routing.
Inheritance Hierarchy
SystemObject
  CMS.DocumentEngine.RoutingPageRoutingHelper

Namespace: CMS.DocumentEngine.Routing
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
public static class PageRoutingHelper

The PageRoutingHelper type exposes the following members.

Fields
  NameDescription
Public fieldStatic memberHIDE_PREFIX_FOR_DEFAULT_CULTURE_URL_KEY
Settings key name for hiding the language prefix for default culture version.
Public fieldStatic memberHOME_PAGE_BEHAVIOR_KEY
Settings key name for home page behavior.
Public fieldStatic memberHOME_PAGE_PATH_KEY
Settings key name for home page path.
Public fieldStatic memberLOWERCASE_PATH_MODE_KEY
Settings key name for lowercase paths mode.
Public fieldStatic memberROUTING_MODE_KEY
Settings key name for routing mode.
Public fieldStatic memberSTORE_FORMER_URLS_KEY
Settings key name for generating former URLs.
Public fieldStatic memberTRAILING_SLASH_MODE_KEY
Settings key name for trailing slash mode.
Public fieldStatic memberURL_CULTURE_FORMAT_KEY
Settings key name for URL culture format.
Public fieldStatic memberUSE_CULTURE_ALIAS_AS_LANGUAGE_PREFIX_IN_URL
Settings key name for using culture alias as language prefix in URLs.
Top
Methods
  NameDescription
Public methodStatic memberEnsureAbsoluteUrlFormat
Ensures correct page absolute URL format based on settings configuration for the content tree based router.
Public methodStatic memberEnsurePathFormat
Ensures correct page URL path format based on settings configuration for the content tree based router.
Public methodStatic memberGetHomePagePath
Gets node alias path which represents the home page.
Public methodStatic memberGetHomePageUrlBehavior
Gets the home page URL behavior.
Public methodStatic memberGetPageUrlPath
Gets the PageUrlPath from given data container.
Public methodStatic memberGetRoutingMode
Retrieves the routing mode from the settings.
Public methodStatic memberGetStoreFormerUrls
Indicates if the former URLs should be stored.
Public methodStatic memberGetUrlCultureFormat
Retrieves the URL culture format for routing from the settings.
Public methodStatic memberHideLanguagePrefixForDefaultCultureUrl
Indicates if language prefix should be hidden for URLs of pages in default site culture.
Public methodStatic memberUseCultureAliasAsLanguagePrefixInUrl
Indicates if culture alias is used as language prefix in URLs
Public methodStatic memberUseLowerCasePaths
Indicates if the page URL paths should be in lowercase format based on the settings.
Public methodStatic memberUseURLsWithTrailingSlash
Gets the settings for the URL trailing slash rules.
Top
See Also