|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Namespaces | |
| namespace | tool |
Functions | |
| print_report_tree ($contextid, $contexts, $allroles) | |
Variables | |
| $systemcontext = get_context_instance(CONTEXT_SYSTEM) | |
| $capability = optional_param('capability', '', PARAM_CAPABILITY) | |
| $roleids = optional_param_array('roles', array('0'), PARAM_INTEGER) | |
| $allroles = get_all_roles() | |
| $cleanedroleids = array() | |
| $allcapabilities = fetch_context_capabilities($systemcontext) | |
| $capabilitychoices = array() | |
| foreach($allcapabilities as $cap) | $rolechoices = array('0' => get_string('all')) |
| get_string ('intro', 'tool_capability') | |
| if ($capability) | |
| print_report_tree | ( | $ | contextid, |
| $ | contexts, | ||
| $ | allroles | ||
| ) |
| $allcapabilities = fetch_context_capabilities($systemcontext) |
| $allroles = get_all_roles() |
| $capability = optional_param('capability', '', PARAM_CAPABILITY) |
| foreach ($allcapabilities as $cap) $rolechoices = array('0' => get_string('all')) |
| $roleids = optional_param_array('roles', array('0'), PARAM_INTEGER) |
| $systemcontext = get_context_instance(CONTEXT_SYSTEM) |
| get_string('intro', 'tool_capability') |