[ Index ]

PHP Cross Reference of MyBB

title

Body

[close]

/inc/ -> functions_indicators.php (summary)

MyBB 1.6 Copyright 2010 MyBB Group, All Rights Reserved Website: http://mybb.com License: http://mybb.com/about/license

File Size: 320 lines (8 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 The thread ID
param: int 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.

param: string The forums (CSV list)
return: int The number of unread threads

mark_forum_read($fid)   X-Ref
Mark a particular forum as read.

param: int The forum ID

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




Generated: Tue Oct 8 19:19:50 2013 Cross-referenced by PHPXref 0.7.1