Click or drag to resize
ApplicationUrlHelper Class
Provides functionality for working with application URL.
Inheritance Hierarchy
SystemObject
  CMS.ModulesApplicationUrlHelper

Namespace: CMS.Modules
Assembly: CMS.Modules (in CMS.Modules.dll) Version: 13.0.131
Syntax
C#
public class ApplicationUrlHelper

The ApplicationUrlHelper type exposes the following members.

Constructors
  NameDescription
Public methodApplicationUrlHelper
Top
Fields
  NameDescription
Public fieldStatic memberCOLLAPSIBLE_EMPTY_PARENT_ELEMENT_URL
Represents ElementTargetURL of a dummy UIElementInfo of type Url. This kind of element is used as parent node in collapsible tree without any content. It's used for grouping UIElementInfos in a tree.
Public fieldStatic memberDEFAULT_UI_CONTROL_PAGE_PATH
Blank page path for controls
Public fieldStatic memberDEFAULT_UI_PAGE_PATH
Basic UI Element Page path
Top
Methods
  NameDescription
Public methodStatic memberAppendDialogHash
Appends hash to URL. Used in selectors (no need for dialog mode).
Public methodStatic memberGetApplicationHash(UIElementInfo)
Gets the application hash (starting with #)
Public methodStatic memberGetApplicationHash(String, String)
Gets the application hash (starting with #)
Public methodStatic memberGetApplicationUrl(UIElementInfo, String)
Returns application URL for application specified by UI element object
Public methodStatic memberGetApplicationUrl(String, String, String)
Returns application URL for application specified by module name and element name
Public methodStatic memberGetElementDialogUrl(UIElementInfo, Int32, String)
Returns dialog UI element URL, appends automatically Dialog and Hash parameters.
Public methodStatic memberGetElementDialogUrl(String, String, Int32, String)
Returns dialog UI element URL, appends automatically Dialog and Hash parameters.
Public methodStatic memberGetElementUrl
Returns basic UIPage with no parameters. Use only in special cases, in most cases use GetElementUrl with parameters.
Public methodStatic memberGetElementUrl(UIElementInfo)
Returns element's URL based on elements type
Public methodStatic memberGetElementUrl(String, String)
Returns element's URL based on element's type
Public methodStatic memberGetElementUrl(UIElementInfo, Boolean, Int32, String)
Returns element's URL
Public methodStatic memberGetElementUrl(String, String, Boolean, Int32, String)
Returns element's URL
Public methodStatic memberGetPageEditLink(Int32)
Get the direct link for page identified by given node ID.
Public methodStatic memberGetPageEditLink(Int32, String)
Get the direct link for page identified by given node ID.
Public methodStatic memberGetResourceName
Returns resource name for given resource ID.
Public methodStatic memberResolveDialogUrl
Resolves the dialog URL. Keeps the URL in case the user is authenticated, uses the secured /cms/dialogs/ prefix to ensure the authentication for already authenticated user.
Public methodStatic memberResolveUIUrl
Resolves the UI URL. Keeps the URL in case the user is authenticated, uses the secured /cms/ prefix to ensure the authentication for already authenticated user.
Top
See Also