Function Hook_import_phpbb3->_import_permg
Definitions
sources/hooks/modules/admin_import/phpbb3.php
- Helper function to import a global permission to a usergroup, from a specific phpBB option row.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $db | object | No | No | required parameter | N/A | N/A | The database connector to import from |
| $table_prefix | string | No | No | required parameter | N/A | N/A | The table prefix the target prefix is using |
| $option_id | integer | No | No | required parameter | N/A | N/A | Option row ID |
| $group_id | GROUP | No | No | required parameter | N/A | N/A | Group it applies to |
| $auth_setting | BINARY | No | No | required parameter | N/A | N/A | Setting |
Preview
Code (PHP)
/**
* Helper function to import a global permission to a usergroup, from a specific phpBB option row.
*
* @param object $db The database connector to import from
* @param string $table_prefix The table prefix the target prefix is using
* @param integer $option_id Option row ID
* @param GROUP $group_id Group it applies to
* @param BINARY $auth_setting Setting
*/
protected function _import_permg(object $db, string $table_prefix, int $option_id, int $group_id, int $auth_setting)
* Helper function to import a global permission to a usergroup, from a specific phpBB option row.
*
* @param object $db The database connector to import from
* @param string $table_prefix The table prefix the target prefix is using
* @param integer $option_id Option row ID
* @param GROUP $group_id Group it applies to
* @param BINARY $auth_setting Setting
*/
protected function _import_permg(object $db, string $table_prefix, int $option_id, int $group_id, int $auth_setting)

