static
void
findMessagesByAuthor
( $author_id, [ $limit = 10], [ $offset = 0], [ $count = false])
-
$author_id
-
$limit
-
$offset
-
$count
static
void
findThemesByForumAliace
( $forum_aliace, [ $offset = 0], [ $limit = 10])
-
$forum_aliace
-
$offset
-
$limit
static
void
getInstance
()
void
createMessage
( $forum_id, $theme_id)
void
createStatisticHtml
()
void
createTheme
( $forum_id, [ $manual = false])
void
findForumIdOneById
( $id)
void
findMessageOneById
( $message_id)
void
findMessagesOneByThemeId
( $theme_id, [ $limit = 10], [ $offset = 0], [ $count = false])
-
$theme_id
-
$limit
-
$offset
-
$count
void
findOneForumById
( $id)
void
findOneThemeById
( $id)
void
findThemesByForumId
( $forum_id, [ $offset = 0], [ $limit = 10])
void
getLastMessages
( $limit, [ $word_count = 1])
void
getLastThemes
( $limit)
Returns an instance of Forum
Singleton pattern implementation
void
loadMessagesByAuthorHtml
()
void
mostAuthorActive
( $limit)
void
rmMessagesByForumId
( $forum_id)
void
rmMessagesByThemeId
( $theme_id)
void
rmThemesByForumId
( $forum_id)
void
setLastMessage
( $forum_id, $message_id, [ $count = true])
-
$forum_id
-
$message_id
-
$count
void
setMessageCount
( $forum_id, [ $type = "+"], [ $count = 1])
void
setThemeCount
( $forum_id, [ $type = "+"])
void
setThemeLastMessage
( $theme_id, $message_id, [ $count = true])
-
$theme_id
-
$message_id
-
$count
void
setThemeMessageCount
( $theme_id, [ $type = "+"], [ $count = 1])
void
update
( $data, $where)
void
updateMessage
( $data, $where)
void
updateThemes
( $data, $where)