Represents a forum and offers methods to operate on it
Add | Add a new forum to the database |
Change | Update a forum in the database |
Count | Count forums mathing the query |
CountUsers | Get number of users that have a ForumWatch line for this forum |
GetChild | Load the first subforum |
GetChildA | Get all subforums |
GetDescription | Get this object's forum description |
GetID | Get this object's forum id |
GetLastNotify | Get last notify time for current user |
GetLink | Get this object's forum weblink target |
GetListArray | Get a list of forums matching the query |
GetName | Get this object's forum name |
GetNextChild | Load the next subforum from a previous GetChild call |
GetParent | Get this object's parent forum id |
GetSort | Get this object's forum sort index |
IForum | No description available. |
IsCategory | Get this object's category flag |
IsCollapsed | Get category collapsed state for current user [deprecated] |
IsLink | Get this object's weblink flag |
IsNew | Are there new (unread) posts in (this) forum for this user |
IsWatched | Get watch mode for current user |
Load | Load a forum into this object. Uses the global forum records cache. |
LoadFromRecord |
Load a forum from a given record into this object. Can load results from array find functions. |
Remove |
Remove a forum with all subforums and related content (threads, posts, polls, category states, votes, notifications) |
RemoveAllForumWatchs | Remove any ForumWatch data for (this) forum |
RemoveAllUserWatchs | Remove any ForumWatch data for (current) user |
Reset | No description available. |
SetCategory | Set the forum's category flag [deprecated] |
SetCollapsed | Set category collapsed state for current user [deprecated] |
SetLastNotify | Set last-notify time for current user |
SetName | Set the forum's name |
SetParent | Set the forum's parent forum id |
SetSort | Set the forum's sort index |
SetWatched | Set watch mode for current user |
Implementation file: unb_lib/forum.lib.php, line 18
© 2006 Yves Goergen. Unclassified NewsBoard Homepage. Reference based on UNB unb.devel.20060128, dated 2006-01-28.