Unclassified NewsBoard Code Reference

IThread.SetWatched function

Set watch mode for current user

function IThread.SetWatched ($Mode = 1, $id = 0);

Parameters:

Mode  –  optional, default: 1
(int) combination of flags. see UNB_NOTIFY_* constants in common.lib.php
id  –  optional, default: 0
(int) thread id, 0 for currently loaded thread

Return value:

(bool) success

Member of class: IThread

Implementation file: unb_lib/thread.lib.php, line 976

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