Go to the source code of this file.
Namespaces |
| namespace | report |
Variables |
| | $id = required_param('id', PARAM_INT) |
| | $type = required_param('type', PARAM_FILE) |
| | $user = required_param('user', PARAM_INT) |
| | $date = optional_param('date', 0, PARAM_INT) |
| | $url = new moodle_url('/report/log/graph.php', array('id'=>$id,'type'=>$type,'user'=>$user,'date'=>$date)) |
if($type!=="usercourse.png"and
$type!=="userday.png") | $course = $DB->get_record("course", array("id"=>$id), '*', MUST_EXIST) |
| | $coursecontext = context_course::instance($course->id) |
| | $personalcontext = context_user::instance($user->id) |
| | $logs = array() |
| | $timenow = time() |
Variable Documentation
| if ($type!=="usercourse.png"and $type!=="userday.png") $course = $DB->get_record("course", array("id"=>$id), '*', MUST_EXIST) |