Unclassified NewsBoard Code Reference

IForum.SetWatched function

Set watch mode for current user

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

Parameters:

Mode  –  optional, default: 1
(int) combination of flags. see UNB_NOTIFY_* constants in common.lib.php
id  –  optional, default: 0
(int) forum id, 0: currently loaded forum
Flags  –  optional, default: 0
(int) 1: recursive [not implemented yet]

Return value:

(bool) success

Member of class: IForum

Implementation file: unb_lib/forum.lib.php, line 592

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