[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/mod/scorm/report/graphs/classes/ -> report.php (summary)

Core Report class of graphs reporting plugin

Copyright: 2012 Ankit Kumar Agarwal
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 184 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

report:: (2 methods):
  get_data()
  display()


Class: report  - X-Ref

Main class to control the graphs reporting

get_data($scoid, $allowedlist = [])   X-Ref
Get the data for the report.

param: int $scoid The sco ID.
param: array $allowedlist The list of user IDs allowed to be displayed.
return: array of data indexed per bar.

display($scorm, $cm, $course, $download)   X-Ref
Displays the full report.

param: \stdClass $scorm full SCORM object
param: \stdClass $cm - full course_module object
param: \stdClass $course - full course object
param: string $download - type of download being requested
return: void



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1