Unclassified NewsBoard Code Reference

IThread.SetQuestion function

Set the poll question

function IThread.SetQuestion ($Question, $PollTimeout, $setquestion = true, $settimeout = true, $id = 0);

Parameters:

Question
(string) question text
For moved thread notes: (int) target thread id
PollTimeout
(int) time to run the poll, in hours
For moved thread notes: (int) time to keep the note before it expires, in hours
setquestion  –  optional, default: true
(bool) set new question text
settimeout  –  optional, default: true
(bool) set new timeout timestamp
id  –  optional, default: 0
(int) thread id, 0 for currently loaded thread

Member of class: IThread

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

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