[ Index ]

PHP Cross Reference of MyBB 1.8.38

title

Body

[close]

/inc/ -> functions_indicators.php (summary)

MyBB 1.8 Copyright 2014 MyBB Group, All Rights Reserved Website: http://www.mybb.com License: http://www.mybb.com/about/license

File Size: 365 lines (9 kb)
Included or required: 6 times
Referenced: 0 times
Includes or requires: 1 file
 inc/functions_user.php

Defines 4 functions

  mark_thread_read()
  fetch_unread_count()
  mark_forum_read()
  mark_all_forums_read()

Functions
Functions that are not part of a class:

mark_thread_read($tid, $fid)   X-Ref
Mark a particular thread as read for the current user.
param: int $tid The thread ID
param: int $fid The forum ID of the thread

fetch_unread_count($fid)   X-Ref
Fetches the number of unread threads for the current user in a particular forum.
return: int The number of unread threads
param: string $fid The forums (CSV list)

mark_forum_read($fid)   X-Ref
Mark a particular forum as read.
param: int $fid The forum ID

mark_all_forums_read()   X-Ref
Marks all forums as read.



2005 - 2021 © MyBB.de | Alle Rechte vorbehalten! | Sponsor: netcup Cross-referenced by PHPXref