ForumContext Class |
Namespace: CMS.Forums
public class ForumContext : AbstractContext<ForumContext>
The ForumContext type exposes the following members.
Name | Description | |
---|---|---|
![]() | ForumContext |
Name | Description | |
---|---|---|
![]() | ColumnNames |
Available column names.
(Inherited from AbstractDataContainerParentObjectType.) |
![]() ![]() | CommunityGroupID |
Gets or sets community group id.
|
![]() ![]() | CurrentForum |
Returns current forum.
|
![]() ![]() | CurrentForumDiscussionMacroHelper |
Gets Discussion macro helper for current forum.
|
![]() ![]() | CurrentGroup |
Returns current thread.
|
![]() ![]() | CurrentMode |
Gets current forum mode.
|
![]() ![]() | CurrentPost |
Returns current post for edit or attachment.
|
![]() ![]() | CurrentReplyThread |
Returns curren reply thread info.
|
![]() ![]() | CurrentState |
Gets the current forum mode.
|
![]() ![]() | CurrentSubscribeThread |
Returns curren reply thread info.
|
![]() ![]() | CurrentThread |
Returns current thread.
|
![]() ![]() | ForumID |
Gets or sets the forum id base on current url or settings.
|
![]() ![]() | ForumViewers |
Collection of forum viewers.
|
![]() ![]() | GroupID |
Gets or sets the group id based on current settings.
|
![]() | 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.) |
![]() | 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.) |
![]() ![]() | ReplyThreadID |
Gets or sets the forum id base on current url or settings.
|
![]() ![]() | SiteID |
Gets or sets the site ID.
|
![]() ![]() | StopViewerLoading |
Gets or sets tha value that indicates whether forum viewers shouldn't be loaded.
|
![]() ![]() | SubscribeThreadID |
Gets or sets the forum id base on current url or settings.
|
![]() ![]() | ThreadID |
Gets or sets the thread id based on current url or settings.
|
![]() | UseLocalColumns |
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainerTObject.) |
![]() | UseLocalProperties |
If true, the object uses local properties
(Inherited from AbstractHierarchicalObjectTObject.) |
![]() ![]() | UserIsModeratorInSomeForum |
Returns true if current user is moderator in at least one forum.
|
Name | Description | |
---|---|---|
![]() | 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.) |
![]() ![]() | DisplayOnlyMe |
Hide all forum viewers except the sender.
|
![]() | EnsureCurrent |
Creates the internal ContextContainerTParent storage if it does not exist yet.
(Inherited from ContextContainerTParent.) |
![]() | GetProperty |
Gets the context property.
(Inherited from AbstractHierarchicalObjectTObject.) |
![]() | GetPropertyType |
Gets the type of the given property
(Inherited from AbstractHierarchicalObjectTObject.) |
![]() | GetValue |
Gets the object value.
(Inherited from AbstractSimpleDataContainerTObject.) |
![]() | HasSetter |
Returns true if given property has a setter
(Inherited from AbstractHierarchicalObjectTObject.) |
![]() ![]() | CheckSite |
Checks if current post, forum or group is belong to current site. You have to insert at least one ID other parameters could be zero.
|
![]() ![]() | IsCommunityGroupAdmin(Int32) |
Returns true if current user is group admin for selected forum.
|
![]() ![]() | IsCommunityGroupAdmin(Int32, UserInfo) |
Returns true if specified user is group admin for selected forum.
|
![]() | 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
(Overrides AbstractHierarchicalObjectTObjectRegisterProperties.) |
![]() | 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.) |
![]() ![]() | UserIsModerator(Int32, Int32) |
Returns true if current user is moderator of current forum.
|
![]() ![]() | UserIsModerator(Int32, Int32, UserInfo) |
Returns true if specified user is moderator of current forum.
|