Abstraction for topics within a Forum.
More...
|
| Topic ($TopicId=NULL) |
| Object Constructor.
|
|
| Delete () |
| Remove this topic from the database, deleting the underlying messages.
|
|
Abstraction for topics within a Forum.
Definition at line 27 of file Topic.php.
Get the email address of the user who created this topic.
- Returns
- Email address of the user who created this topic
Definition at line 152 of file Topic.php.
References CreatorId().
Get the CWIS name of the user who created this topic.
- Returns
- CWIS name of the user who created this topic
Definition at line 142 of file Topic.php.
References CreatorId().
Get or set set the creation date of this topic.
- Parameters
-
- Returns
- The current creation date
Definition at line 177 of file Topic.php.
Set or modify the forum with which this topic is associated.
- Parameters
-
- Returns
- The current ForumId
Definition at line 163 of file Topic.php.
Referenced by Delete().
Topic::GetErrorStatus |
( |
| ) |
|
Retrieve the error status.
- Returns
- Topic::OK if everything worked, something else otherwise
Definition at line 204 of file Topic.php.
Topic::GetMessageList |
( |
| ) |
|
Get a list of messages in this topic.
- Returns
- An array of Message objects, indexed by message Id
Definition at line 115 of file Topic.php.
References TopicId().
Get or set the messagecount for this topic.
- Parameters
-
- Returns
- The current message count
Definition at line 198 of file Topic.php.
Topic::Topic |
( |
|
$TopicId = NULL | ) |
|
Get or modify the name of this topic.
- Parameters
-
- Returns
- The current name of this topic
Definition at line 184 of file Topic.php.
Get or set the viewcount for this topic.
- Parameters
-
- Returns
- The current viewcount
Definition at line 191 of file Topic.php.
const Topic::NONEXISTENT = 1 |
The documentation for this class was generated from the following file: