| [ Index ] | PHP Cross Reference of phpBB-3.1.12-deutsch | 
[Source view] [Print] [Project Stats]
This file is part of the phpBB Forum Software package.
| Copyright: | (c) phpBB Limited | 
| License: | GNU General Public License, version 2 (GPL-2.0) | 
| File Size: | 652 lines (17 kb) | 
| Included or required: | 0 times | 
| Referenced: | 0 times | 
| Includes or requires: | 0 files | 
permission:: (11 methods):
  __construct()
  get_name()
  exists()
  add()
  remove()
  role_add()
  role_update()
  role_remove()
  permission_set()
  permission_unset()
  reverse()
Class: permission - X-Ref
Migration permission management tool| __construct(\phpbb\db\driver\driver_interface $db, \phpbb\cache\service $cache, \phpbb\auth\auth $auth, $phpbb_root_path, $php_ext) X-Ref | 
| Constructor param: \phpbb\db\driver\driver_interface $db param: \phpbb\cache\service $cache param: \phpbb\auth\auth $auth param: string $phpbb_root_path param: string $php_ext | 
| get_name() X-Ref | 
| {@inheritdoc} | 
| exists($auth_option, $global = true) X-Ref | 
| Permission Exists Check if a permission (auth) setting exists param: string $auth_option The name of the permission (auth) option param: bool $global True for checking a global permission setting, return: bool true if it exists, false if not | 
| add($auth_option, $global = true, $copy_from = false) X-Ref | 
| Permission Add Add a permission (auth) option param: string $auth_option The name of the permission (auth) option param: bool $global True for checking a global permission setting, param: int|false $copy_from If set, contains the id of the permission from which to copy the new one. return: null | 
| remove($auth_option, $global = true) X-Ref | 
| Permission Remove Remove a permission (auth) option param: string $auth_option The name of the permission (auth) option param: bool $global True for checking a global permission setting, return: null | 
| role_add($role_name, $role_type, $role_description = '') X-Ref | 
| Add a new permission role param: string $role_name The new role name param: string $role_type The type (u_, m_, a_) param: string $role_description Description of the new role return: null | 
| role_update($old_role_name, $new_role_name) X-Ref | 
| Update the name on a permission role param: string $old_role_name The old role name param: string $new_role_name The new role name return: null | 
| role_remove($role_name) X-Ref | 
| Remove a permission role param: string $role_name The role name to remove return: null | 
| permission_set($name, $auth_option, $type = 'role', $has_permission = true) X-Ref | 
| Permission Set Allows you to set permissions for a certain group/role param: string $name The name of the role/group param: string|array $auth_option The auth_option or array of param: string $type The type (role|group) param: bool $has_permission True if you want to give them permission, return: null | 
| permission_unset($name, $auth_option, $type = 'role') X-Ref | 
| No description | 
| reverse() X-Ref | 
| {@inheritdoc} | 
| Generated: Thu Jan 11 00:25:41 2018 | Cross-referenced by PHPXref 0.7.1 |