Unclassified NewsBoard Code Reference

IAnnounce.SetUser function

Set the announcement's author user id

function IAnnounce.SetUser ($User = null, $id = null);

Parameters:

User  –  optional, default: null
(int) new user id
id  –  optional, default: null
(int) announcement to modify, null: currently loaded announcement

Return value:

(bool) success

Member of class: IAnnounce

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

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