示例#1
0
 function move_files($questionid, $oldcontextid, $newcontextid)
 {
     $fs = get_file_storage();
     parent::move_files($questionid, $oldcontextid, $newcontextid);
     $this->move_files_in_answers($questionid, $oldcontextid, $newcontextid);
     $fs->move_area_files_to_new_context($oldcontextid, $newcontextid, 'qtype_numerical', 'instruction', $questionid);
 }