moodle/question/format
Marina Glancy a800e7e62f MDL-74853 various: add second parameter to htmlentities functions
Default value of the $flag argument changed in PHP 8.1 from ENT_COMPAT to ENT_QUOTES | ENT_SUBSTITUTE
To ensure consistent behavior across different PHP version the second parameter is now required for the functions:
htmlspecialchars(), htmlentities(), htmlspecialchars_decode(), html_entity_decode() and get_html_translation_table()
2022-11-28 16:12:20 +01:00
..
aiken MDL-76403 versions: bump all versions and requires near release 2022-11-23 09:45:23 +08:00
blackboard_six MDL-76403 versions: bump all versions and requires near release 2022-11-23 09:45:23 +08:00
gift MDL-76403 versions: bump all versions and requires near release 2022-11-23 09:45:23 +08:00
missingword MDL-76403 versions: bump all versions and requires near release 2022-11-23 09:45:23 +08:00
multianswer MDL-76403 versions: bump all versions and requires near release 2022-11-23 09:45:23 +08:00
xhtml MDL-76403 versions: bump all versions and requires near release 2022-11-23 09:45:23 +08:00
xml MDL-74853 various: add second parameter to htmlentities functions 2022-11-28 16:12:20 +01:00
README.txt MDL-20636 Boilerplate and other cleanup in the question core code. 2011-02-21 18:00:15 +00:00
upgrade.txt MDL-72958 questions: tidy up all question-related upgrade.txt files 2022-03-22 14:53:43 +00:00

Question import/export formats
==============================

This directory contains plug-ins to supprt importing and exporting questions in
a variety of formats.

Each sub-module must contain at least a format.php file containing a class that
contains functions for reading, writing, importing and exporting questions.

For correct operation the class name must be based on the name of the plugin.
For example:

plugin: webct
class:  class qformat_webct extends qformat_default {

Most of them are based on the class found in question/format.php.
See the comments therein for more information.