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

Public Member Functions

 get_test_questions ()
 make_truefalse_question_true ()
 make_truefalse_question_false ()

Detailed Description

Test helper class for the truefalse 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 truefalse question with correct answer false.

Returns:
qtype_truefalse_question

Definition at line 70 of file helper.php.

Here is the call graph for this function:

Makes a truefalse question with correct answer true.

Returns:
qtype_truefalse_question

Definition at line 45 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