DocumentContext Class |
Namespace: CMS.DocumentEngine
public class DocumentContext : AbstractContext<DocumentContext>
The DocumentContext type exposes the following members.
Name | Description | |
---|---|---|
DocumentContext |
Name | Description | |
---|---|---|
ColumnNames |
Available column names.
(Inherited from AbstractDataContainerParentObjectType.) | |
CurrentAliasPath |
Returns current document aliaspath.
| |
CurrentAttachment |
Returns the current document attachment (only for file document type).
| |
CurrentBodyClass |
Current page body class.
| |
CurrentCultureInvariantPageInfo |
Returns the current culture invariant page info object.
| |
CurrentDescription |
Current page description.
| |
CurrentDocType |
Current page document type.
| |
CurrentDocument |
Returns the current document node.
| |
CurrentDocumentCulture |
Returns the current document culture.
| |
CurrentDocumentOwner |
Returns the current document owner.
| |
CurrentDocumentParent |
Returns parent of the current document node.
| |
CurrentDocumentStylesheet |
Returns the current document CSS stylesheet.
| |
CurrentDocumentStylesheetName |
Returns current document stylesheet name.
| |
CurrentKeyWords |
Current page keywords.
| |
CurrentPageInfo |
Returns the current page info object.
| |
CurrentParentPageInfos |
Gets or sets the ordered list of parent page info objects, which are used on current page. These page info should be used as read-only.
| |
CurrentTemplate |
Current page template
| |
CurrentTitle |
Current page title with resolved macros.
| |
EditedDocument |
Document edited by the current page.
| |
IsDefault |
Returns true if the context is the default request context
(Inherited from ContextContainerTParent.) | |
Item |
Gets the value of particular property
(Inherited from AbstractHierarchicalObjectTObject.) | |
Key |
Unique container key
(Inherited from ContextContainerTParent.) | |
OriginalAliasPath |
Returns alias path corresponding to current URL.
| |
OriginalPageInfo |
Returns the original page info object if site is in test and current page info belongs to variant.
| |
PageResultUrlPath |
Gets or sets the url path of the current request.
| |
Properties |
Properties available through the context.
(Inherited from AbstractHierarchicalObjectTObject.) | |
PropertyList |
Used property list
(Inherited from AbstractHierarchicalObjectTObject.) | |
RegisteredColumns |
Registered Columns
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisteredColumnsObject |
Registered Columns object
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisteredProperties |
Registered properties
(Inherited from AbstractHierarchicalObjectTObject.) | |
RegisteredPropertiesObject |
Registered properties object
(Inherited from AbstractHierarchicalObjectTObject.) | |
UseLocalColumns |
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainerTObject.) | |
UseLocalProperties |
If true, the object uses local properties
(Inherited from AbstractHierarchicalObjectTObject.) |
Name | Description | |
---|---|---|
AddDefaultOutputCacheDependencies |
Adds the default output cache dependencies to the request output.
| |
ClearCurrent |
Clears the current context value
(Inherited from ContextContainerTParent.) | |
CloneForNewThread |
Clones the object for new thread
(Inherited from AbstractContextTContext.) | |
CombineWith |
Combines current instance with other properties (modifies current instace!).
List properties are merged from all the participating typeinfos, other properties are taken as first non-null value (non-null is determined by nullValues collection).
(Inherited from AbstractHierarchicalObjectTObject.) | |
ContainsColumn |
Returns true if specified column is available in current structure.
(Inherited from AbstractDataContainerParentObjectType.) | |
EnsureCurrent |
Creates the internal ContextContainerTParent storage if it does not exist yet.
(Inherited from ContextContainerTParent.) | |
GetBrowserClass |
Gets the browser specific CSS class name.
| |
GetContextParametersDataRow |
Returns datarow with CMSContext parameters.
| |
GetCultureClass |
Gets the culture specific CSS class name.
| |
GetProperty |
Gets the context property.
(Inherited from AbstractHierarchicalObjectTObject.) | |
GetPropertyType |
Gets the type of the given property
(Inherited from AbstractHierarchicalObjectTObject.) | |
GetUICultureClass |
Gets the UI culture specific CSS class name.
| |
GetValue |
Gets the object value.
(Inherited from AbstractSimpleDataContainerTObject.) | |
HasSetter |
Returns true if given property has a setter
(Inherited from AbstractHierarchicalObjectTObject.) | |
RegisterColumn(String, FuncTObject, Object) |
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisterColumn(String, FuncTObject, Object, FuncTObject, Object, Object) |
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisterColumns |
Registers the Columns of this object
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisterProperties |
Registers the properties of this object
(Inherited from AbstractHierarchicalObjectTObject.) | |
RegisterProperty(String, FuncTObject, Object) |
Registers the given property to the object
(Inherited from AbstractHierarchicalObjectTObject.) | |
RegisterProperty(String, Object, FuncTObject, Object, Object) |
Registers the given parameterized property to the object.
(Inherited from AbstractHierarchicalObjectTObject.) | |
SetAsCurrent |
Sets the current instance as the current thread item
(Inherited from ContextContainerTParent.) | |
SetProperty |
Gets the context property.
(Inherited from AbstractHierarchicalObjectTObject.) | |
SetValue |
Sets the object value.
(Inherited from AbstractSimpleDataContainerTObject.) | |
TryGetProperty(String, Object) |
Gets the context property.
(Inherited from AbstractHierarchicalObjectTObject.) | |
TryGetProperty(String, Object, Boolean) |
Returns value of property.
(Inherited from AbstractHierarchicalObjectTObject.) | |
TryGetValue |
Returns value of column.
(Inherited from AbstractSimpleDataContainerTObject.) |