Unclassified NewsBoard Code Reference

IUser.GetThreadWatchs function

Get all ThreadWatchs for (this) user

function IUser.GetThreadWatchs ($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(thread id,
watch mode,
last post date,
forum id,
forum name,
thread subject,
last read timestamp)))

Member of class: IUser

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

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