Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/report/log/graph.php File Reference

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)

Definition at line 42 of file graph.php.

$coursecontext = context_course::instance($course->id)

Definition at line 45 of file graph.php.

Definition at line 33 of file graph.php.

Definition at line 30 of file graph.php.

$logs = array()

Definition at line 71 of file graph.php.

$personalcontext = context_user::instance($user->id)

Definition at line 46 of file graph.php.

$timenow = time()

Definition at line 73 of file graph.php.

$type = required_param('type', PARAM_FILE)

Definition at line 31 of file graph.php.

$url = new moodle_url('/report/log/graph.php', array('id'=>$id,'type'=>$type,'user'=>$user,'date'=>$date))

Definition at line 35 of file graph.php.

Definition at line 32 of file graph.php.

 All Data Structures Namespaces Files Functions Variables Enumerations