You are here

function qformat_examview::cleanUnicode in Quiz 6.5

Same name and namespace in other branches
  1. 6.6 includes/moodle/question/format/examview/format.php \qformat_examview::cleanUnicode()
1 call to qformat_examview::cleanUnicode()
qformat_examview::readquestions in includes/moodle/question/format/examview/format.php
Parses an array of lines into an array of questions, where each item is a question object as defined by readquestion(). Questions are defined as anything between blank lines.

File

includes/moodle/question/format/examview/format.php, line 121

Class

qformat_examview

Code

function cleanUnicode($text) {
  return str_replace('’', "'", $text);
}