Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/grade/report/overview/index.php File Reference

Go to the source code of this file.

Variables

 $courseid = required_param('id', PARAM_INT)
 $userid = optional_param('userid', $USER->id, PARAM_INT)
 $context = get_context_instance(CONTEXT_COURSE, $course->id)
 $systemcontext = get_context_instance(CONTEXT_SYSTEM)
if(has_capability('moodle/grade:viewall',
$systemcontext)) else if($userid==$USER->
id and has_capability('moodle/grade:viewall',
$context)) else if($userid==$USER->
id and has_capability('moodle/grade:view',
$context) and $course->
showgrades) else if(has_capability('moodle/grade:viewall',
get_context_instance(CONTEXT_USER,
$userid)) and $course->
showgrades) if(!$access) 
$gpr = new grade_plugin_return(array('type'=>'report', 'plugin'=>'overview', 'courseid'=>$course->id, 'userid'=>$userid))
 return tracking object
if(!isset($USER->
grade_last_report)) $USER 
grade_last_report [$course->id] = 'overview'
 last selected report session tracking

Variable Documentation

Definition at line 34 of file index.php.

Definition at line 23 of file index.php.

if (has_capability('moodle/grade:viewall', $systemcontext)) else if ($userid==$USER->id and has_capability('moodle/grade:viewall', $context)) else if ($userid==$USER->id and has_capability('moodle/grade:view', $context) and $course->showgrades) else if (has_capability('moodle/grade:viewall', get_context_instance(CONTEXT_USER, $userid)) and $course->showgrades) if (!$access) $gpr = new grade_plugin_return(array('type'=>'report', 'plugin'=>'overview', 'courseid'=>$course->id, 'userid'=>$userid))

return tracking object

Definition at line 71 of file index.php.

Definition at line 35 of file index.php.

Definition at line 24 of file index.php.

if (!isset($USER->grade_last_report)) $USER grade_last_report[$course->id] = 'overview'

last selected report session tracking

Definition at line 77 of file index.php.

 All Data Structures Namespaces Files Functions Variables Enumerations