Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/admin/tool/capability/index.php File Reference

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)

Function Documentation

print_report_tree ( contextid,
contexts,
allroles 
)

Definition at line 177 of file index.php.

Here is the call graph for this function:


Variable Documentation

$allcapabilities = fetch_context_capabilities($systemcontext)

Definition at line 67 of file index.php.

$allroles = get_all_roles()

Definition at line 41 of file index.php.

$capability = optional_param('capability', '', PARAM_CAPABILITY)

Definition at line 36 of file index.php.

$capabilitychoices = array()

Definition at line 68 of file index.php.

$cleanedroleids = array()

Definition at line 42 of file index.php.

foreach ($allcapabilities as $cap) $rolechoices = array('0' => get_string('all'))

Definition at line 74 of file index.php.

$roleids = optional_param_array('roles', array('0'), PARAM_INTEGER)

Definition at line 37 of file index.php.

Definition at line 32 of file index.php.

get_string('intro', 'tool_capability')

Definition at line 89 of file index.php.

if($capability)

Definition at line 99 of file index.php.

 All Data Structures Namespaces Files Functions Variables Enumerations