Unclassified NewsBoard Code Reference

IThread.CreateVoteOption function

Create a new voting option (for this or another thread)

function IThread.CreateVoteOption ($id = 0, $title, $sort);

Parameters:

id  –  optional, default: 0
(int) thread id, 0 for currently loaded thread
title
(string) answer text
sort
(int) sort index

Member of class: IThread

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

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