Diff of /contrib/plugins/grade/report/visual/data.php
Parent Directory
|
Revision Log
|
Patch
|
By dservos:
CONTRIB-497
*Added more visualizations
*Added selector UI Widget for flex/flare visualization
*Refactored some of flex actionscript code.
*Added defaults for selected group and items in visualizations.
*Improved removal of nodes and edges when an item or group is deselected in a legend.
*Fixed a memory leak realting to the removal and addtion of nodes.
*Added more options for and control of the flex/flare based visualization from the Moodle back end.
|
| 27 |
* Outputs data for a visulasation in tab format. |
* Outputs data for a visulasation in tab format. |
| 28 |
*/ |
*/ |
| 29 |
|
|
|
error_reporting(0); |
|
|
|
|
| 30 |
/// Get a session id from the URI request and make a cookie |
/// Get a session id from the URI request and make a cookie |
| 31 |
/// for it temparaly. This is needed as the flex application will |
/// for it temparaly. This is needed as the flex application will |
| 32 |
/// not have the users oringal cookie and only the session information |
/// not have the users oringal cookie and only the session information |
| 59 |
$context = get_context_instance(CONTEXT_COURSE, $course->id); |
$context = get_context_instance(CONTEXT_COURSE, $course->id); |
| 60 |
require_capability('gradereport/visual:view', $context); |
require_capability('gradereport/visual:view', $context); |
| 61 |
|
|
| 62 |
|
error_reporting(0); |
| 63 |
|
|
| 64 |
/// get tracking object |
/// get tracking object |
| 65 |
$gpr = new grade_plugin_return(array('type'=>'report', 'plugin'=>'visual', 'courseid'=>$courseid)); |
$gpr = new grade_plugin_return(array('type'=>'report', 'plugin'=>'visual', 'courseid'=>$courseid)); |
| 66 |
|
|
|
|
Legend:
| Removed from v.1.2 |
|
| changed lines |
| |
Added in v.1.3 |
|
|