Unclassified NewsBoard Code Reference

IThread.IncViews function

Increase number of views of a thread

function IThread.IncViews ($id = 0, $count = 1);

Parameters:

id  –  optional, default: 0
(int) thread id, 0: currently loaded thread
count  –  optional, default: 1
(int) number to increase counter by

Return value:

(bool) success

Member of class: IThread

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

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