Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Classes | Functions
format.php File Reference

format.php - Default format class for file imports/exports. More...

Classes

class  qformat_based_on_xml
 Since the lesson module tries to re-use the question bank import classes in a crazy way, this is necessary to stop things breaking. More...
 
class  qformat_default
 Base class for question import and export formats. More...
 

Functions

 lesson_import_question_files ($field, $data, $answer, $contextid)
 Import files embedded into answer or response. More...
 
 lesson_save_question_options ($question, $lesson, $contextid)
 Given some question info and some data about the the answers this function parses, organises and saves the question. More...
 

Detailed Description

format.php - Default format class for file imports/exports.

Doesn't do everything on it's own – it needs to be extended.

Included by import.ph

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