Method |
Description |
|
__construct ( ) |
|
|
canPostReply ( $forum_id, $group_id = null ) |
Params: $forum_id (integer) - forum id to check, $group_id (integer) - group id of the user |
|
canPostTopic ( $forum_id, $group_id = null ) |
Params: $forum_id (integer) - forum id to check, $group_id (integer) - group id of the user |
|
forumExist ( $forum_id, $group_id = null ) |
Params: $forum_id (integer) - forum id to check, $group_id (integer) - group id of the user |
|
getForumTitle ( $forum_id ) |
Params: $forum_id (integer) - forum id to check |
|
getForumType ( $forum_id ) |
Params: $forum_id (integer) - forum id to check |
|
getIndividualPost ( $post_id ) |
Params: $post_id (integer) - post id to check |
|
getLatestDiscussions ( $group_id = null ) |
Params: $group_id (integer) - group id of the user |
|
getLatestNews ( $number = 5 ) |
Params: $number (integer) - number to return (max recommended 10) |
|
getPosts ( $tid = null ) |
Params: $tid (integer) - topic ID to retrieve post from |
|
getReputation ( $post_id ) |
Params: $post_id (integer) - post id to check |
|
listAllForums ( $group_id = null, $layout = null ) |
Params: $group_id (integer) - group id of the user |
|
orderAllForums ( $group_id = null ) |
Params: $group_id (integer) - group id of the user |
|
topicExist ( $topic_id, $group_id = null ) |
Params: $topic_id (integer) - topic id to check, $group_id (integer) - group id of the user |
|
updateForumLatestPosts ( ) |
Updates the latest post column in all forums. Used when a reply/topic is deleted |
|
updateTopicLatestPosts ( ) |
Updates the latest post column in all topics |
|