Main class to control the graphs reporting.
More...
|
| canview ($contextmodule) |
| allows the plugin to control who can see this plugin. More...
|
|
| display ($scorm, $cm, $course, $download) |
| Displays the full report. More...
|
|
|
const | BANDS = 11 |
| Number of bars.
|
|
const | BANDWIDTH = 10 |
| Range of each bar.
|
|
Main class to control the graphs reporting.
- Copyright
- 2012 Ankit Kumar Agarwal
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ canview()
mod_scorm\report::canview |
( |
|
$contextmodule | ) |
|
|
inherited |
allows the plugin to control who can see this plugin.
- Return values
-
◆ display()
scormreport_graphs\report::display |
( |
|
$scorm, |
|
|
|
$cm, |
|
|
|
$course, |
|
|
|
$download |
|
) |
| |
Displays the full report.
- Parameters
-
stdClass | $scorm | full SCORM object |
stdClass | $cm | - full course_module object |
stdClass | $course | - full course object |
string | $download | - type of download being requested |
- Return values
-
Reimplemented from mod_scorm\report.
◆ generate_master_checkbox()
mod_scorm\report::generate_master_checkbox |
( |
| ) |
|
|
protectedinherited |
Generates a checkbox that can be added to header tables to select/deselect all quiz attempts.
- Return values
-
◆ generate_row_checkbox()
mod_scorm\report::generate_row_checkbox |
( |
string |
$name, |
|
|
string |
$value |
|
) |
| |
|
protectedinherited |
Generates a checkbox for a row in the attempts table.
- Parameters
-
string | $name | The checkbox's name attribute. |
string | $value | The checkbox's value. |
- Return values
-
◆ get_data()
scormreport_graphs\report::get_data |
( |
|
$scoid, |
|
|
|
$allowedlistsql |
|
) |
| |
|
protected |
Get the data for the report.
- Parameters
-
int | $scoid | The sco ID. |
array | $allowedlist | The SQL and params to get the userlist. |
- Return values
-
array | of data indexed per bar. |
The documentation for this class was generated from the following file: