|
Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Functions | |
| quiz_statistics_question_preview_pluginfile ($previewcontext, $questionid, $filecontext, $filecomponent, $filearea, $args, $forcedownload, $options=[]) | |
| Serve questiontext files in the question text when they are displayed in this report. | |
| quiz_statistics_question_preview_pluginfile | ( | $previewcontext, | |
| $questionid, | |||
| $filecontext, | |||
| $filecomponent, | |||
| $filearea, | |||
| $args, | |||
| $forcedownload, | |||
| $options = [] ) |
Serve questiontext files in the question text when they are displayed in this report.
| context | $previewcontext | the quiz context |
| int | $questionid | the question id. |
| context | $filecontext | the file (question) context |
| string | $filecomponent | the component the file belongs to. |
| string | $filearea | the file area. |
| array | $args | remaining file args. |
| bool | $forcedownload,. | |
| array | $options | additional options affecting the file serving. |