bool change(
int
$group, [int
$member = false], [array
$extra = false]
)
|
|
Changes Member group to delivered group-id.
Parameters:
|
int |
$group: |
Group ID |
|
int |
$member: |
Member ID. If no Member-ID is delivered, the currently logged in member will moved. |
|
array |
$extra: |
secondary Group-IDs |
API Tags:
| Return: | true on success, otherwise false |
| Access: | public |
Information Tags:
| Author: | Matthias Reuter |
| Since: | 2.0 |
| Sample: |
|
array info(
[int
$group = false]
)
|
|
Returns information on a group.
Parameters:
|
int |
$group: |
Group ID. If $group is ommited, the last known group (of the last member) is used. |
API Tags:
| Return: | Group Information |
| Access: | public |
Information Tags:
Redefinition of:
- ipbwi::info()
- informations about the current IPBWI and PHP installation
mixed isInGroup(
int
$group, [int
$member = false], [bool
$extra = true]
)
|
|
Returns whether a member is in the specified group(s).
Parameters:
|
int |
$group: |
Group ID or array of groups-ids separated with comma: 2,5,7 |
|
int |
$member: |
Member ID to find |
|
bool |
$extra: |
Include secondary groups to test against? |
API Tags:
| Return: | Whether member is in group(s) |
Information Tags:
| Author: | Matthias Reuter |
| Author: | DigitalisAkujin |
| Author: | Pita |
| Author: | Cow |
| Since: | 2.0 |
| Sample: |
|