Functions


Functions Summary
array

cot_hiddengroups_get(int mode, string type)

Get an array of hidden group IDs or hidden user IDs

int

cot_hiddengroups_mode()

Get hiding mode as integer.

Function Detail

plugins\hiddengroups\inc\hiddengroups.functions.php at line 36

cot_hiddengroups_get

public array cot_hiddengroups_get(int mode, string type)
Get an array of hidden group IDs or hidden user IDs
Parameters:
mode - 0, 1 or 2 from cot_hiddengroups_mode()
type - 'groups' or 'users'
Returns:
Global:
CotDB $db
Cache $cache

plugins\hiddengroups\inc\hiddengroups.functions.php at line 18

cot_hiddengroups_mode

public int cot_hiddengroups_mode()
Get hiding mode as integer.
Returns:
0, 1 or 2