mirror of
https://github.com/moodle/moodle.git
synced 2025-03-20 07:30:01 +01:00
Merge branch 'MDL-48707' of git://github.com/jmvedrine/moodle
This commit is contained in:
commit
19e819bad4
@ -353,6 +353,20 @@ class qformat_default {
|
||||
echo "</div>";
|
||||
}
|
||||
|
||||
/**
|
||||
* Import for questiontype plugins
|
||||
* @param mixed $data The segment of data containing the question
|
||||
* @param object $question processed (so far) by standard import code if appropriate
|
||||
* @param object $extra mixed any additional format specific data that may be passed by the format
|
||||
* @param string $qtypehint hint about a question type from format
|
||||
* @return object question object suitable for save_options() or false if cannot handle
|
||||
*/
|
||||
public function try_importing_using_qtypes($data, $question = null, $extra = null,
|
||||
$qtypehint = '') {
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
function importpreprocess() {
|
||||
// Does any pre-processing that may be desired
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user