function qformat_examview::cleanUnicode in Quiz 6.6
Same name and namespace in other branches
- 6.5 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
Code
function cleanUnicode($text) {
return str_replace('’', "'", $text);
}