[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

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

Capabilities table with risks.

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

Defines 10 functions

  __construct()
  load_current_permissions()
  read_submitted_permissions()
  save_changes()
  display()
  add_header_cells()
  num_extra_columns()
  get_row_classes()
  add_row_cells()
  get_risk_icon()

Functions
Functions that are not part of a class:

__construct($context, $id, $roleid)   X-Ref
No description

load_current_permissions()   X-Ref
No description

read_submitted_permissions()   X-Ref
Update $this->permissions based on submitted data, while making a list of
changed capabilities in $this->changed.


save_changes()   X-Ref
Save the new values of any permissions that have been changed.


display()   X-Ref
No description

add_header_cells()   X-Ref
No description

num_extra_columns()   X-Ref
No description

get_row_classes($capability)   X-Ref
No description

add_row_cells($capability)   X-Ref
No description

get_risk_icon($type)   X-Ref
Print a risk icon, as a link to the Risks page on Moodle Docs.

param: string $type the type of risk, will be one of the keys from the



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1