[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/includes/acp/ -> acp_permissions.php (summary)

(no description)

Copyright: (c) 2005 phpBB Group
License: http://opensource.org/licenses/gpl-license.php GNU Public License
Version: $Id$
File Size: 1315 lines (40 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

acp_permissions:: (12 methods):
  main()
  build_subforum_options()
  build_permission_dropdown()
  check_existence()
  set_permissions()
  set_all_permissions()
  check_assigned_role()
  remove_permissions()
  log_action()
  permission_trace()
  copy_forum_permissions()
  retrieve_defined_user_groups()


Class: acp_permissions  - X-Ref


main($id, $mode)   X-Ref
No description

build_subforum_options($forum_list)   X-Ref
Build +subforum options


build_permission_dropdown($options, $default_option, $permission_scope)   X-Ref
Build dropdown field for changing permission types


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


set_permissions($mode, $permission_type, &$auth_admin, &$user_id, &$group_id)   X-Ref
Apply permissions


set_all_permissions($mode, $permission_type, &$auth_admin, &$user_id, &$group_id)   X-Ref
Apply all permissions


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


remove_permissions($mode, $permission_type, &$auth_admin, &$user_id, &$group_id, &$forum_id)   X-Ref
Remove permissions


log_action($mode, $action, $permission_type, $ug_type, $ug_id, $forum_id)   X-Ref
Log permission changes


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


copy_forum_permissions()   X-Ref
Handles copying permissions from one forum to others


retrieve_defined_user_groups($permission_scope, $forum_id, $permission_type)   X-Ref
Get already assigned users/groups




Generated: Wed Oct 2 15:03:47 2013 Cross-referenced by PHPXref 0.7.1