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

Public Member Functions

 __construct ($id, $answer, $fraction, $feedback, $feedbackformat, $tolerance)
 get_tolerance_interval ()
 within_tolerance ($value)

Data Fields

 $tolerance
 $tolerancetype = 2

Detailed Description

Subclass of question_answer with the extra information required by the numerical question type.

Definition at line 310 of file question.php.


Constructor & Destructor Documentation

__construct ( id,
answer,
fraction,
feedback,
feedbackformat,
tolerance 
)

Definition at line 316 of file question.php.


Member Function Documentation

Definition at line 321 of file question.php.

Here is the caller graph for this function:

within_tolerance ( value)

Definition at line 350 of file question.php.

Here is the call graph for this function:


Field Documentation

$tolerance

Definition at line 312 of file question.php.

$tolerancetype = 2

Definition at line 314 of file question.php.


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