PHP 클래스 acp_permissions

파일 보기 프로젝트 열기: phpbb/phpbb

공개 프로퍼티들

프로퍼티 타입 설명
$permission_dropdown
$u_action

보호된 프로퍼티들

프로퍼티 타입 설명
$permissions

공개 메소드들

메소드 설명
build_permission_dropdown ( $options, $default_option, $permission_scope ) Build dropdown field for changing permission types
build_subforum_options ( $forum_list ) Build +subforum options
check_assigned_role ( $role_id, &$auth_settings ) Compare auth settings with auth settings from role returns false if they differ, true if they are equal
check_existence ( $mode, &$ids ) Check if selected items exist. Remove not found ids and if empty return error.
copy_forum_permissions ( ) Handles copying permissions from one forum to others
log_action ( $mode, $action, $permission_type, $ug_type, $ug_id, $forum_id ) Log permission changes
main ( $id, $mode )
permission_trace ( $user_id, $forum_id, $permission ) Display a complete trace tree for the selected permission to determine where settings are set/unset
remove_permissions ( $mode, $permission_type, &$auth_admin, &$user_id, &$group_id, &$forum_id ) Remove permissions
retrieve_defined_user_groups ( $permission_scope, $forum_id, $permission_type ) Get already assigned users/groups
set_all_permissions ( $mode, $permission_type, &$auth_admin, &$user_id, &$group_id ) Apply all permissions
set_permissions ( $mode, $permission_type, &$auth_admin, &$user_id, &$group_id ) Apply permissions

메소드 상세

build_permission_dropdown() 공개 메소드

Build dropdown field for changing permission types
public build_permission_dropdown ( $options, $default_option, $permission_scope )

build_subforum_options() 공개 메소드

Build +subforum options
public build_subforum_options ( $forum_list )

check_assigned_role() 공개 메소드

Compare auth settings with auth settings from role returns false if they differ, true if they are equal
public check_assigned_role ( $role_id, &$auth_settings )

check_existence() 공개 메소드

Check if selected items exist. Remove not found ids and if empty return error.
public check_existence ( $mode, &$ids )

copy_forum_permissions() 공개 메소드

Handles copying permissions from one forum to others

log_action() 공개 메소드

Log permission changes
public log_action ( $mode, $action, $permission_type, $ug_type, $ug_id, $forum_id )

main() 공개 메소드

public main ( $id, $mode )

permission_trace() 공개 메소드

Display a complete trace tree for the selected permission to determine where settings are set/unset
public permission_trace ( $user_id, $forum_id, $permission )

remove_permissions() 공개 메소드

Remove permissions
public remove_permissions ( $mode, $permission_type, &$auth_admin, &$user_id, &$group_id, &$forum_id )

retrieve_defined_user_groups() 공개 메소드

Get already assigned users/groups
public retrieve_defined_user_groups ( $permission_scope, $forum_id, $permission_type )

set_all_permissions() 공개 메소드

Apply all permissions
public set_all_permissions ( $mode, $permission_type, &$auth_admin, &$user_id, &$group_id )

set_permissions() 공개 메소드

Apply permissions
public set_permissions ( $mode, $permission_type, &$auth_admin, &$user_id, &$group_id )

프로퍼티 상세

$permission_dropdown 공개적으로 프로퍼티

public $permission_dropdown

$permissions 보호되어 있는 프로퍼티

protected $permissions

$u_action 공개적으로 프로퍼티

public $u_action