Unclassified NewsBoard Code Reference

IUser.SetForumThreadFlag function

Set the new state of a forum/thread flag for a user.
Doesn't use the global cache but runs a new database query for each call.
Considered for internal use only.

function IUser.SetForumThreadFlag ($forumid, $threadid, $mask, $set, $id = 0);

Parameters:

forumid
(int) Forum ID
threadid
(int) Thread ID. Only forum OR thread ID must be set!
mask
(int) Bitmask of flags. Only one bit must be set!
set
(bool) new bit state
id  –  optional, default: 0
(int) User ID. 0: currently loaded user

Return value:

(bool) success

Member of class: IUser

Implementation file: unb_lib/user.lib.php, line 1779

© 2006 Yves Goergen. Unclassified NewsBoard Homepage. Reference based on UNB unb.devel.20060128, dated 2006-01-28.