Unclassified NewsBoard Code Reference

IUser.GetForumWatchs function

Get all ForumWatchs for (this) user

function IUser.GetForumWatchs ($id = 0, $cond = '');

Parameters:

id  –  optional, default: 0
(int) user id, 0: currently loaded user
cond  –  optional, default: ''
(string) condition expression the watch mode must match. Example: "& 2", "< 4".
This is used to complete an SQL expression on the Mode column.

Return value:

(array(array(forum id,
forum name,
watch mode)))

Member of class: IUser

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

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