[moodle] / contrib / plugins / grade / report / visual / visualizations / visual_grades_vs_students.php Repository:

Diff of /contrib/plugins/grade/report/visual/visualizations/visual_grades_vs_students.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1, Thu Jul 24 15:31:45 2008 WST revision 1.2, Mon Aug 18 11:58:39 2008 WST

By dservos:

CONTRIB-497 * Added flare libbary to repo as it is needed to build the flash front end. Lib is located at /grade/report/visual/flare_visualization/flare/. For more information see http://flare.prefuse.org/ * Added more visualizations. * Added settings/preferences page for the report. * Added printable version. * Added more documentation. * Added README.txt * Cleaned up code. * Fixed a bunch of small bugs.

# Line 1  Line 1 
1  <?php  <?php
2     ///////////////////////////////////////////////////////////////////////////
3    //                                                                       //
4    // NOTICE OF COPYRIGHT                                                   //
5    //                                                                       //
6    // Moodle - Modular Object-Oriented Dynamic Learning Environment         //
7    //          http://moodle.org                                            //
8    //                                                                       //
9    // Copyright (C) 1999 onwards  Martin Dougiamas  http://moodle.com       //
10    //                                                                       //
11    // This program is free software; you can redistribute it and/or modify  //
12    // it under the terms of the GNU General Public License as published by  //
13    // the Free Software Foundation; either version 2 of the License, or     //
14    // (at your option) any later version.                                   //
15    //                                                                       //
16    // This program is distributed in the hope that it will be useful,       //
17    // but WITHOUT ANY WARRANTY; without even the implied warranty of        //
18    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         //
19    // GNU General Public License for more details:                          //
20    //                                                                       //
21    //          http://www.gnu.org/copyleft/gpl.html                         //
22    //                                                                       //
23    ///////////////////////////////////////////////////////////////////////////
24    
25  require_once $CFG->dirroot . '/grade/report/visual/visualizations/visualization.php';  require_once $CFG->dirroot . '/grade/report/visual/visualizations/visualization.php';
26    
27  class grades_vs_students extends visualization {  class grades_vs_students extends visualization {
# Line 25  Line 48 
48          $this->yaxislabel = get_string('grade', 'gradereport_visual');          $this->yaxislabel = get_string('grade', 'gradereport_visual');
49          $this->title = get_string('gradesvsstudents:title', 'gradereport_visual');          $this->title = get_string('gradesvsstudents:title', 'gradereport_visual');
50    
51          $this->capabilities = null;          $this->capability = 'gradereport/visual:vis:grades_vs_students';
52    
53          $this->colorencoder = new encoder(encoder::ENCODER_COLOR, 'item');          $this->colorencoder = new encoder(encoder::ENCODER_COLOR, 'item');
54          $this->shapeencoder = new encoder(encoder::ENCODER_SHAPE, 'group');          $this->shapeencoder = new encoder(encoder::ENCODER_SHAPE, 'group');

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

Moodle CVS Admin
ViewVC Help
Powered by ViewVC 1.0.7