Unclassified NewsBoard Code Reference

IAnnounce.Add function

Add an announcement
Stores the new data incl the new announcement ID in the object

function IAnnounce.Add ($Forum, $Subject, $Msg, $Options);

Parameters:

Forum
(int) Forum ID
Subject
(string)
Msg
(string) Message text
Options
(int) Combination of UNB_ANN_*

Return value:

(bool) operation succeeded

Member of class: IAnnounce

Implementation file: unb_lib/announce.lib.php, line 320

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