mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Clean up whitespace.
This commit is contained in:
parent
06d20c2429
commit
53a4d39f1c
@ -74,7 +74,7 @@ class qformat_blackboard extends qformat_default {
|
||||
$this->process_matching($xml, $questions);
|
||||
|
||||
return $questions;
|
||||
}
|
||||
}
|
||||
|
||||
//----------------------------------------
|
||||
// Process True / False Questions
|
||||
@ -271,7 +271,6 @@ function process_fib($xml, &$questions) {
|
||||
else {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
for ($i = 0; $i < sizeof ($fibquestions); $i++) {
|
||||
$question = $this->defaultquestion();
|
||||
@ -312,7 +311,7 @@ function process_fib($xml, &$questions) {
|
||||
}
|
||||
|
||||
$questions[] = $question;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//----------------------------------------
|
||||
|
@ -120,7 +120,7 @@ class qformat_webct_modified_calculated_qtype extends question_calculated_qtype
|
||||
}
|
||||
$datasetdef->itemcount = $item->itemnumber - 1;
|
||||
|
||||
// Retrieve ->options
|
||||
// Retrieve ->options
|
||||
if (is_numeric($datasetdata->min) && is_numeric($datasetdata->max)
|
||||
&& $datasetdata->min <= $datasetdata->max) {
|
||||
if (is_numeric($datasetdata->dec)) {
|
||||
|
@ -8,7 +8,7 @@
|
||||
/**
|
||||
* @package questionbank
|
||||
* @subpackage questiontypes
|
||||
*/
|
||||
*/
|
||||
class random_qtype extends default_questiontype {
|
||||
|
||||
// Carries questions available as randoms sorted by category
|
||||
|
@ -11,9 +11,9 @@
|
||||
/// question type embeddable within a multianswer (cloze) question
|
||||
///
|
||||
/**
|
||||
* @package questionbank
|
||||
* @subpackage questiontypes
|
||||
*/
|
||||
* @package questionbank
|
||||
* @subpackage questiontypes
|
||||
*/
|
||||
require_once("$CFG->dirroot/question/type/questiontype.php");
|
||||
|
||||
class question_shortanswer_qtype extends default_questiontype {
|
||||
@ -135,9 +135,9 @@ class question_shortanswer_qtype extends default_questiontype {
|
||||
|
||||
/// Print question text and media
|
||||
|
||||
$questiontext = format_text($question->questiontext,
|
||||
$question->questiontextformat,
|
||||
$formatoptions, $cmoptions->course);
|
||||
$questiontext = format_text($question->questiontext,
|
||||
$question->questiontextformat,
|
||||
$formatoptions, $cmoptions->course);
|
||||
$image = get_question_image($question, $cmoptions->course);
|
||||
|
||||
/// Print input controls
|
||||
|
@ -6,9 +6,9 @@
|
||||
|
||||
/// QUESTION TYPE CLASS //////////////////
|
||||
/**
|
||||
* @package questionbank
|
||||
* @subpackage questiontypes
|
||||
*/
|
||||
* @package questionbank
|
||||
* @subpackage questiontypes
|
||||
*/
|
||||
class question_truefalse_qtype extends default_questiontype {
|
||||
|
||||
function name() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user