[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/question/type/numerical/tests/ -> helper.php (summary)

Test helpers for the numerical question type.

Copyright: 2011 The Open University
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 271 lines (11 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

qtype_numerical_test_helper:: (6 methods):
  get_test_questions()
  make_numerical_question_pi()
  get_numerical_question_form_data_pi()
  get_numerical_question_data_pi()
  make_numerical_question_unit()
  make_numerical_question_currency()


Class: qtype_numerical_test_helper  - X-Ref

Test helper class for the numerical question type.

get_test_questions()   X-Ref
No description

make_numerical_question_pi()   X-Ref
Makes a numerical question with correct ansewer 3.14, and various incorrect
answers with different feedback.

return: qtype_numerical_question

get_numerical_question_form_data_pi()   X-Ref
No description

get_numerical_question_data_pi()   X-Ref
No description

make_numerical_question_unit()   X-Ref
Makes a numerical question with a choice (select menu) of units.

return: qtype_numerical_question

make_numerical_question_currency()   X-Ref
Makes a numerical question with correct ansewer 3.14, and various incorrect
answers with different feedback.

return: qtype_numerical_question



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1