You are here: Ektron Namespace > .NET Assemblies > Ektron.Cms.API Namespace > Ektron.Cms.API.Content Namespace > Classes > ThreadedDiscussion Class > ThreadedDiscussion Methods
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
ThreadedDiscussion Methods

The methods of the ThreadedDiscussion class are listed here.

 
Name 
Description 
 
Adds a discussion board to a given folder. Accepts name, title, and other parameters. Returns numeric ID of new discussion board.  
 
Adds a discussion forum to a given board. Accepts name, description, and other parameters. Category ID must be valid for the board ID. Returns numeric ID of new discussion forum as Long.
See Also: The Example section.  
 
This is the overview for the AddReply method overload. 
 
This is the overview for the AddTopic method overload. 
 
Deletes a board with a given ID. This deletes the board as well as all forums, topics and posts under it. BoardID must be greater than 0.  
 
Deletes a forum with a given ID. This deletes the forum as well as all topics and posts under it. forumID must be greater than 0 (zero).  
 
Deletes a topic by topicID. This method deletes all posts associated with the topic as well. Returns boolean value.  
 
This is the overview for the GetActiveTopics method overload. 
 
Gets Most active topics for a forum. Activity is measured by number of posts on the topic.  
 
Gets Most active topics for a board. Activity is measured by number of posts on the topic.  
 
Method to get the Categories for a board by ID. Returns either zero length or populated array. See DiscussionCategory class for more information.  
 
Method to get the Forums for a board by ID. Returns either zero length or populated array. See DiscussionForum class for more information.  
 
This is the overview for the GetDiscussionBoard method overload. 
 
Method to get the rendered view of a discussion board by ID. Returns a string of the output based upon the input parameters. Display of the board can be controlled by using cascading style sheets (CSS).  
 
Method to obtain a particular forum by ID. Returns a discussion board with a 1 length Discussion Forum array. If the forum does not exist, then a DiscussionBoard with a zero length Forums property will be returned.
See Also: The Example section.  
 
Method returns a list of replies for a given forum ID.
  • ArrayList Structure ArrayListItem(j)(0)
  • content_id ArrayListItem(j)(1)
  • comment_total ArrayListItem(j)(2)
  • comment_sum ArrayListItem(j)(3)
  • last_posted ArrayListItem(j)(4)
  • content_language
 
 
Method to obtain a particular Topic by ID. Returns a discussion board with a 1 length Discussion Forum array containing a 1 length DiscussionTopic array. If the topic does not exist, then a DiscussionBoard with a 1 length Forums property containing a zero length Topics property will be returned.  
 
Method to obtain an array of topic replies matching search criteria. Returns an instance of EkTasks, which is effectively an array of EkTask objects. If no results are returned, then a zero length EkTasks will be returned.  
 
Subscribe a user to a board by providing the ID of the board, the user's ID and the type of subscription.  
 
Subscribe a user to a forum by providing the ID of the forum, the user's ID and the type of subscription.  
 
Subscribe a user to a topic by providing the ID of the topic, the user's ID and the type of subscription.  
 
Unsubscribe a user from a discussion board by providing the discussion board's ID and user ID.  
 
Unsubscribe a user from a forum by providing the topic ID and user ID.  
 
Unsubscribe a user from a topic by providing the topic ID and user ID.  
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!