LiquidThreads 3.0/Old object model/Discussion core

This page details the objects used in the core discussion module.

Topic
This class represents a topic, potentially on a discussion page. Its parent will usually be a Channel.

Attributes

 * Subject
 * The subject line for the topic.


 * Sort key
 * The key used for sorting this topic among others on the Channel.

Post
This class represents a particular comment in a discussion. Its parent will usually be a Post or a Topic.

Attributes

 * Author
 * The author of the post.


 * Text ID
 * A foreign key to the text table, a pointer to the comment text.


 * Signature
 * The signature displayed at the bottom of the post.


 * Timestamp
 * The timestamp displayed at the bottom of the post (different to the last-modified date).

Summary
This represents an editor-written summary of a Topic. A Topic may have one Summary, which is collaboratively edited. Its parent will usually be the Topic in question.

Attributes

 * Text ID
 * A pointer to the comment text in the text table.

Channel
A Channel is comparable to a forum in traditional message-board software. It contains a number of Topics. For the initial release, a Channel will be associated with a single discussion page.

Attributes

 * Page
 * The discussion page that displays this Channel.