Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 3.9.x will end* 10 May 2021 (12 months).
  • Bug fixes for security issues in 3.9.x will end* 8 May 2023 (36 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Differences Between: [Versions 39 and 311]

Examview question importer.

Copyright: 2005 Howard Miller
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 327 lines (12 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

qformat_examview:: (14 methods):
  provide_import()
  mime_type()
  unxmlise()
  parse_matching_groups()
  parse_ma()
  process_matches()
  cleanunicode()
  readquestions()
  readquestion()
  parse_tf_yn()
  parse_mc()
  parse_co()
  parse_es()
  parse_nr()


Class: qformat_examview  - X-Ref

Examview question importer.

provide_import()   X-Ref
No description

mime_type()   X-Ref
No description

unxmlise( $xml )   X-Ref
unxmlise reconstructs part of the xml data structure in order
to identify the actual data therein

param: array $xml section of the xml data structure
return: string data with evrything else removed

parse_matching_groups($matchinggroups)   X-Ref
No description

parse_ma($qrec, $groupname)   X-Ref
No description

process_matches(&$questions)   X-Ref
No description

cleanunicode($text)   X-Ref
No description

readquestions($lines)   X-Ref
No description

readquestion($qrec)   X-Ref
No description

parse_tf_yn($qrec, $question)   X-Ref
No description

parse_mc($qrec, $question)   X-Ref
No description

parse_co($qrec, $question)   X-Ref
No description

parse_es($qrec, $question)   X-Ref
No description

parse_nr($qrec, $question)   X-Ref
No description