You are here

function quiz_xmlstart in Quiz 6.5

Same name and namespace in other branches
  1. 6.6 includes/moodle/question/format/coursetestmanager/format.php \quiz_xmlstart()
1 string reference to 'quiz_xmlstart'
qformat_coursetestmanager::query_linux in includes/moodle/question/format/coursetestmanager/format.php

File

includes/moodle/question/format/coursetestmanager/format.php, line 495

Code

function quiz_xmlstart($parser, $name, $attribs) {
  global $result, $row, $col, $incolumn;
  $name = strtolower($name);
  switch ($name) {
    case "row":
      $col = 0;
      break;
    case "column":
      $incolumn = 1;
      break;
    case "error":
      break;
    case "result":
      $row = 0;
      break;
  }

  // switch
}