qtype = MULTIANSWER; $thequestion->course = $this->course; if (!empty($thequestion)) { $thequestion->name = addslashes($lines[0]); $questions[] = $thequestion; } return $questions; } } ?>