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

Go to the source code of this file.

Namespaces

namespace  report

Variables

 $report = required_param('report', PARAM_INT)
 $time = required_param('time', PARAM_INT)
 $numcourses = required_param('numcourses', PARAM_INT)
 $param = stats_get_parameters($time,$report,SITEID,STATS_MODE_RANKED)
if(empty($courses)) $graph = new graph(750,400)
$graph parameter ['legend'] = 'outside-right'
$graph parameter ['legend_size'] = 10
$graph parameter ['x_axis_angle'] = 90
$graph parameter ['title'] = false
$graph y_tick_labels = null
$graph offset_relation = null
if($report!=STATS_REPORT_ACTIVE_COURSES)
foreach($courses as $c) $graph 
y_order = array('bar1')
$graph y_format ['bar1'] = array('colour' => 'blue','bar' => 'fill','legend' => $param->{$param->graphline})

Variable Documentation

if (empty($courses)) $graph = new graph(750,400)

Definition at line 61 of file reportsgraph.php.

$numcourses = required_param('numcourses', PARAM_INT)

Definition at line 32 of file reportsgraph.php.

Definition at line 40 of file reportsgraph.php.

$report = required_param('report', PARAM_INT)

Definition at line 30 of file reportsgraph.php.

Definition at line 31 of file reportsgraph.php.

Definition at line 68 of file reportsgraph.php.

$graph parameter['legend'] = 'outside-right'

Definition at line 63 of file reportsgraph.php.

$graph parameter['legend_size'] = 10

Definition at line 64 of file reportsgraph.php.

$graph parameter['x_axis_angle'] = 90

Definition at line 65 of file reportsgraph.php.

$graph parameter['title'] = false

Definition at line 66 of file reportsgraph.php.

$graph y_format['bar1'] = array('colour' => 'blue','bar' => 'fill','legend' => $param->{$param->graphline})

Definition at line 78 of file reportsgraph.php.

if ($report!=STATS_REPORT_ACTIVE_COURSES) foreach ($courses as $c) $graph y_order = array('bar1')

Definition at line 77 of file reportsgraph.php.

Definition at line 67 of file reportsgraph.php.

 All Data Structures Namespaces Files Functions Variables Enumerations