Main class to control the graphs reporting.
More...
|
| | canview ($contextmodule) |
| | allows the plugin to control who can see this plugin.
|
| |
| | display ($scorm, $cm, $course, $download) |
| | Displays the full report.
|
| |
|
|
const | BANDS = 11 |
| | Number of bars.
|
| |
|
const | BANDWIDTH = 10 |
| | Range of each bar.
|
| |
|
|
| generate_delete_selected_button () |
| | Generates an action button that deletes the selected attempts.
|
| |
| | generate_master_checkbox () |
| | Generates a checkbox that can be added to header tables to select/deselect all quiz attempts.
|
| |
| | generate_row_checkbox (string $name, string $value) |
| | Generates a checkbox for a row in the attempts table.
|
| |
| | get_data ($scoid, $allowedlistsql) |
| | Get the data for the report.
|
| |
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:
- mod/scorm/report/graphs/classes/report.php