Unclassified NewsBoard Code Reference

IForum.Change function

Update a forum in the database

function IForum.Change ($ID, $Sort, $Parent, $Name, $Flags, $Description, $Link = '');

Parameters:

ID
(int) forum id to update
Sort
(int) new sort index
Parent
(int) new parent forum id
Name
(string) new forum name
Flags
(int) new forum flags/options, see UNB_FORUM_* constants at the top of this file
Description
(string) new forum description (subtitle)
Link  –  optional, default: ''
(string) new weblink target

Return value:

(bool) success

Member of class: IForum

Implementation file: unb_lib/forum.lib.php, line 440

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