Unclassified NewsBoard Code Reference

IThread.Change function

Update a thread in the database
If $id = 0 the currently loaded thread will be changed and updated in the database,
else currently loaded thread won't be changed and data will be written to another thread in the database.
$User and $UserName are only updated if $User != -1.
$Options is only updated if it's != -1.

function IThread.Change ($id, $Forum, $User, $UserName, $Subject, $Options = -1);

Parameters:

id
Forum
User
UserName
Subject
Options  –  optional, default: -1

Return value:

(bool) success

Member of class: IThread

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

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