Moodle  2.2.1
http://www.collinsharper.com
qtype_numerical_test_helper Class Reference
Inheritance diagram for qtype_numerical_test_helper:
Collaboration diagram for qtype_numerical_test_helper:

Public Member Functions

 get_test_questions ()
 make_numerical_question_pi ()
 make_numerical_question_unit ()
 make_numerical_question_currency ()

Detailed Description

Test helper class for the numerical question type.

Definition at line 36 of file helper.php.


Member Function Documentation

Returns:
array of example question names that can be passed as the $which argument of test_question_maker::make_question when $qtype is this question type.

Reimplemented from question_test_helper.

Definition at line 37 of file helper.php.

Makes a numerical question with correct ansewer 3.14, and various incorrect answers with different feedback.

Returns:
qtype_numerical_question

Definition at line 104 of file helper.php.

Here is the call graph for this function:

Makes a numerical question with correct ansewer 3.14, and various incorrect answers with different feedback.

Returns:
qtype_numerical_question

Definition at line 46 of file helper.php.

Here is the call graph for this function:

Makes a numerical question with a choice (select menu) of units.

Returns:
qtype_numerical_question

Definition at line 78 of file helper.php.

Here is the call graph for this function:


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations