LiquidThreads 3.0/Old object model/Discussion core
Appearance
This page is obsolete. It is being retained for archival purposes. It may document extensions or features that are obsolete and/or no longer supported. Do not rely on the information here being up-to-date. |
- This is part of the 2011 LiquidThreads redesign project
This page details the objects used in the core discussion module.
Topic
[edit]This class represents a topic, potentially on a discussion page. Its parent will usually be a Channel.
Attributes
[edit]- Subject
- The subject line for the topic.
- Sort key
- The key used for sorting this topic among others on the Channel.
Post
[edit]This class represents a particular comment in a discussion. Its parent will usually be a Post or a Topic.
Attributes
[edit]- 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
[edit]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
[edit]- Text ID
- A pointer to the comment text in the text table.
Channel
[edit]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
[edit]- Page
- The discussion page that displays this Channel.