|
Moodle PHP Documentation 4.1
Moodle 4.1dev (Build: 20220512) (5e5e12e0)
|
Namespaces | |
| namespace | qformat_xhtml\privacy |
| | |
Classes | |
| class | qformat_xhtml |
| XHTML question exporter. More... | |
| class | qformat_xhtml\privacy\provider |
| Privacy Subsystem for qformat_xhtml implementing null_provider. More... | |
Functions | |
| qformat_xhtml_question_preview_pluginfile ($previewcontext, $questionid, $filecontext, $filecomponent, $filearea, $args, $forcedownload, $options=array()) | |
| Serve question files when they are displayed in this export format. More... | |
Variables | |
| $plugin = 2022041200 | |
| $plugin | component = 'qformat_xhtml' |
| $plugin | maturity = MATURITY_STABLE |
| $plugin | version = 2022041900 |
| qformat_xhtml_question_preview_pluginfile | ( | $previewcontext, | |
| $questionid, | |||
| $filecontext, | |||
| $filecomponent, | |||
| $filearea, | |||
| $args, | |||
| $forcedownload, | |||
$options = array() |
|||
| ) |
Serve question files when they are displayed in this export format.
| 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. |