Unclassified NewsBoard Code Reference

IForum.Add function

Add a new forum to the database

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

Parameters:

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

Return value:

(bool) success

Member of class: IForum

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

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