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

Diff of /contrib/plugins/grade/report/visual/data.php

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

revision 1.2, Thu Jul 24 15:31:44 2008 WST revision 1.3, Sat Aug 2 12:19:15 2008 WST

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.

# Line 27  Line 27 
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
# Line 61  Line 59 
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

Moodle CVS Admin
ViewVC Help
Powered by ViewVC 1.0.7