|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Namespaces | |
| namespace | qtype |
Functions | |
| xmldb_qtype_numerical_upgrade ($oldversion) | |
| qtype_numerical_convert_text_format ($numericaloptions) | |
| qtype_numerical_convert_to_html ($text, $oldformat) | |
| qtype_numerical_convert_text_format | ( | $ | numericaloptions | ) |
Convert the ->questiontext and ->instructions fields to have the same text format. If they are already the same, do nothing. Otherwise, this method works by converting both to HTML.
| $numericaloptions | the data to convert. |
Definition at line 256 of file upgrade.php.


| qtype_numerical_convert_to_html | ( | $ | text, |
| $ | oldformat | ||
| ) |
Convert some content to HTML.
| string | $text | the content to convert to HTML |
| int | $oldformat | One of the FORMAT_... constants. |
Definition at line 285 of file upgrade.php.


| xmldb_qtype_numerical_upgrade | ( | $ | oldversion | ) |
Upgrade code for the numerical question type.
| int | $oldversion | the version we are upgrading from. |
Definition at line 34 of file upgrade.php.
