Unclassified NewsBoard Code Reference

SendWatchNotification function

Send out ForumWatch/ThreadWatch notifications to all users who want one

function SendWatchNotification (&$forum, &$thread, &$post, $page, $username);

Parameters:

forum
IForum object
thread
IThread object
port
IPost object
page
(int) page number the new post is on
username
(string) new post's username
post

Remarks:

send thread watch notifications, if forum->ID = 0, send forum watch notifications else.

Implementation file: unb_lib/post.inc.php, line 125

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