Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
Functions
previewlib.php File Reference

Library functions used by question/preview.php. More...

Functions

 question_preview_action_url ($questionid, $qubaid, question_preview_options $options, $context)
 The the URL to use for actions relating to this preview.
 
 question_preview_form_url ($questionid, $context, $previewid=null)
 The the URL to use for actions relating to this preview.
 
 question_preview_question_pluginfile ($course, $context, $component, $filearea, $qubaid, $slot, $args, $forcedownload, $fileoptions)
 
 restart_preview ($previewid, $questionid, $displayoptions, $context)
 Delete the current preview, if any, and redirect to start a new preview.
 

Detailed Description

Library functions used by question/preview.php.

@subpackage questionengine

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Deprecated:
since Moodle 4.0
See also
qbank_previewquestion::form::preview_options_form
qbank_previewquestion::output::question_preview_options