Function Forum_driver_base->get_usergroup_list
Definitions
sources/forum_stub.php
- Get a map of forum usergroups (id=>name).
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$hide_hidden | boolean | False | N/A | N/A | Whether to obscure the name of hidden usergroups |
$only_permissive | boolean | False | N/A | N/A | Whether to only grab permissive usergroups |
$force_show_all | boolean | False | N/A | N/A | Do not limit things even if there are huge numbers of usergroups |
$force_find | array | [] | N/A | N/A | Usergroups that must be included in the results |
$for_member | ?MEMBER | Null | N/A | N/A | Always return usergroups of this member if otherwise there are too many to return in full (null: current member) |
$skip_hidden | boolean | False | N/A | N/A | Whether to completely skip hidden usergroups |
Return
- The map
- Type: array
- Set: N/A
- Range: N/A