Unclassified NewsBoard Code Reference

IUser.SetGender function

Set gender

function IUser.SetGender ($Gender, $id = 0);

Parameters:

Gender
(string) new gender: '', 'm' or 'f'
id  –  optional, default: 0
(int) user id, 0: currently loaded user

Return value:

(bool) success

Member of class: IUser

Implementation file: unb_lib/user.lib.php, line 1217

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