The VirtualContext type exposes the following members.
Back to Top
Back to Top
Back to Top
Methods
Name | Description | |
---|---|---|
![]() ![]() | AddPreviewHash |
Gets the custom prefix hash for the virtual context URL validation
|
![]() ![]() | ContainsVirtualContextPrefix |
Returns true if the URL contains virtual context prefix
|
![]() ![]() | GetItem |
Gets the particular item from virtual context
|
![]() ![]() | GetVirtualContextPath(String, NameValueCollection) |
Removes the virtual context prefix from the given URL
|
![]() ![]() | GetVirtualContextPath(String, NameValueCollection, Boolean) |
Removes the virtual context prefix from the given URL
|
![]() ![]() | GetVirtualContextPrefix(NameValueCollection) |
Gets the prefix for the virtual context URL
|
![]() ![]() | GetVirtualContextPrefix(NameValueCollection, Boolean) |
Gets the prefix for the virtual context URL
|
![]() ![]() | HandleVirtualContext |
Handles the virtual context for the request. Returns true, if loading of the virtual context succeeded and the request is a virtual context request.
|
![]() ![]() | ItemIsSet |
Returns true, if the given item is set
|
![]() ![]() | LoadVirtualContextValues |
Handles the virtual context prefixes in the URL. Returns true, if loading of the virtual context value succeeded.
|
![]() ![]() | RemoveVirtualContextPrefix |
Removes the virtual context prefix from the given URL
|
![]() ![]() | ReplaceVirtualContextPrefix |
Replaces the virtual context prefix from the given URL with a new one
|
![]() ![]() | Reset |
Resets the current virtual context
|
![]() ![]() | SetItem |
Sets the particular item in the virtual context
|
![]() ![]() | ValidatePreviewHash |
Gets the additional custom prefix parameters part for the virtual context URL
|
Fields
Name | Description | |
---|---|---|
![]() ![]() | PARAM_HASH |
Name of the hash parameter
|
![]() ![]() | PARAM_PREVIEW_LINK |
Name of the preview link parameter
|
![]() ![]() | PARAM_SITENAME |
Name of the site name parameter
|
![]() ![]() | PARAM_USERNAME |
Name of the user name parameter
|
![]() ![]() | PARAM_VIEWMODE |
Name of the view mode parameter
|
![]() ![]() | PARAM_WF_GUID |
Name of the workflow cycle GUID parameter
|
Properties
Name | Description | |
---|---|---|
![]() ![]() | CurrentURLPrefix |
Current prefix for the URL in the virtual context
|
![]() ![]() | IsInitialized |
Returns true if some virtual context properties have been initialized
|
![]() ![]() | IsPreviewLinkInitialized |
Returns true if preview link virtual context properties have been initialized
|
![]() ![]() | IsUserInitialized |
Returns true if user virtual context properties have been initialized
|
![]() ![]() | VirtualContextPrefix |
Default URL prefix for the pages virtual context. Default value is "/cms/context/"
|
![]() ![]() | VirtualContextSeparator |
Default URL separator for the prefix and original URL for pages with virtual context. Default value is "-"
|
See Also