Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Classes | Functions
previewlib.php File Reference

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

Classes

class  preview_options_form
 Settings form for the preview options. More...
 
class  question_preview_options
 Displays question preview options as default and set the options Setting default, getting and setting user preferences in question preview options. More...
 

Functions

 question_preview_action_url ($questionid, $qubaid, question_preview_options $options, $context)
 The the URL to use for actions relating to this preview. More...
 
 question_preview_form_url ($questionid, $context, $previewid=null)
 The the URL to use for actions relating to this preview. More...
 
 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. More...
 

Detailed Description

Library functions used by question/preview.php.

@subpackage questionengine

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later