You are here

function qformat_default::presave_process in Quiz 6.5

Same name and namespace in other branches
  1. 6.6 includes/moodle/question/format.php \qformat_default::presave_process()

Enable any processing to be done on the content just prior to the file being saved default is to do nothing

Parameters

string output text:

string processed output text:

3 calls to qformat_default::presave_process()
qformat_default::exportprocess in includes/moodle/question/format.php
Do the export For most types this should not need to be overrided
qformat_qti2::exportprocess in includes/moodle/question/format/qti2/format.php
exports the questions in a question category to the given location
qformat_qti2::questions_with_export_info in includes/moodle/question/format/qti2/format.php
adds exporttext property to the questions
2 methods override qformat_default::presave_process()
qformat_xhtml::presave_process in includes/moodle/question/format/xhtml/format.php
Enable any processing to be done on the content just prior to the file being saved default is to do nothing
qformat_xml::presave_process in includes/moodle/question/format/xml/format.php
Enable any processing to be done on the content just prior to the file being saved default is to do nothing

File

includes/moodle/question/format.php, line 634

Class

qformat_default
Base class for question import and export formats.

Code

function presave_process($content) {
  return $content;
}