|
| question_preview_link ($questionid, context $context, $showlabel) |
| Render an icon, optionally with the word 'Preview' beside it, to preview a given question.
|
|
| render_preview_page ($previewdata) |
| Render the preview page.
|
|
◆ question_preview_link()
qbank_previewquestion\output\renderer::question_preview_link |
( |
| $questionid, |
|
|
context | $context, |
|
|
| $showlabel ) |
Render an icon, optionally with the word 'Preview' beside it, to preview a given question.
- Parameters
-
int | $questionid | the id of the question to be previewed. |
context | $context | the context in which the preview is happening. Must be a course or category context. |
bool | $showlabel | if true, show the word 'Preview' after the icon. If false, just show the icon. |
◆ render_preview_page()
qbank_previewquestion\output\renderer::render_preview_page |
( |
| $previewdata | ) |
|
Render the preview page.
- Parameters
-
The documentation for this class was generated from the following file:
- question/bank/previewquestion/classes/output/renderer.php