Unclassified NewsBoard Code Reference

IUser.CountWithGroup function

Like Count(), but filters by UserGroups, too

function IUser.CountWithGroup ($where = '', $group = 0, $invgroup = false);

Parameters:

where  –  optional, default: ''
(string) SQL WHERE section
group  –  optional, default: 0
(int) group id the user must be member of
invgroup  –  optional, default: false
(bool) user must not be member of above group id (inverse behaviour)

Member of class: IUser

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

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