Function Hook_import_smf2->static_perm_arr
Definitions
sources/hooks/modules/admin_import/smf2.php
- Used to build privilege permission access to Forums.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$gid | integer | required parameter | N/A | N/A | group ID to map |
$pid | integer | required parameter | N/A | N/A | profile ID to map |
$v | integer | required parameter | N/A | N/A | Value to map |
$r | boolean | False | N/A | N/A | Whether to return the map or not |
Return
- The mapped Groups and Profile with highest privilege calculated
- Type: array
- Set: N/A
- Range: N/A