Function Hook_import_smf2->get_role_value
Definitions
sources/hooks/modules/admin_import/smf2.php
- Gets the role value for permissions of group.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: int
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$gid | integer | required parameter | N/A | N/A | Group ID to use |
$pid | integer | required parameter | N/A | N/A | Profile ID to use |
$db | object | required parameter | N/A | N/A | The database connector to import from |
$table_prefix | string | required parameter | N/A | N/A | The table prefix the target prefix is using |
Return
- The role value
- Type: integer
- Set: N/A
- Range: N/A