[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/admin/roles/classes/ -> override_permissions_table_advanced.php (summary)

override permissions table.

Copyright: 1999 onwards Martin Dougiamas (http://dougiamas.com)
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 102 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

core_role_override_permissions_table_advanced:: (4 methods):
  __construct()
  load_parent_permissions()
  has_locked_capabilities()
  add_permission_cells()


Class: core_role_override_permissions_table_advanced  - X-Ref

__construct($context, $roleid, $safeoverridesonly)   X-Ref
Constructor.

This method loads loads all the information about the current state of
the overrides, then updates that based on any submitted data. It also
works out which capabilities should be locked for this user.

param: object $context the context this table relates to.
param: integer $roleid the role being overridden.
param: boolean $safeoverridesonly If true, the user is only allowed to override

load_parent_permissions()   X-Ref
No description

has_locked_capabilities()   X-Ref
No description

add_permission_cells($capability)   X-Ref
No description



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1