Moodle  2.2.1
http://www.collinsharper.com
qtype_calculated_question_helper Class Reference

Static Public Member Functions

static start_attempt (qtype_calculated_question_with_expressions $question, question_attempt_step $step, $variant)
static apply_attempt_state (qtype_calculated_question_with_expressions $question, question_attempt_step $step)

Detailed Description

Helper class for questions that use datasets. Works with the interface qtype_calculated_question_with_expressions and the class qtype_calculated_dataset_loader to set up the value of each variable in start_attempt, and restore that in apply_attempt_state.

Definition at line 124 of file question.php.


Member Function Documentation

Definition at line 139 of file question.php.

Here is the call graph for this function:

static start_attempt ( qtype_calculated_question_with_expressions question,
question_attempt_step step,
variant 
) [static]

Definition at line 125 of file question.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