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

Public Member Functions

 notify_modified ()
 notify_attempt_modified (question_attempt $qa)
 notify_attempt_added (question_attempt $qa)
 notify_step_added (question_attempt_step $step, question_attempt $qa, $seq)
 notify_step_modified (question_attempt_step $step, question_attempt $qa, $seq)
 notify_step_deleted (question_attempt_step $step, question_attempt $qa)

Detailed Description

Null implmentation of the question_usage_watcher interface. Does nothing.

Definition at line 854 of file questionusage.php.


Member Function Documentation

Called when a new question attempt is added to this usage.

Parameters:
question_attempt$qathe newly added question attempt.

Implements question_usage_observer.

Definition at line 859 of file questionusage.php.

Called when the fields of a question attempt in this usage are modified.

Parameters:
question_attempt$qathe newly added question attempt.

Implements question_usage_observer.

Definition at line 857 of file questionusage.php.

Called when a field of the question_usage_by_activity is changed.

Implements question_usage_observer.

Definition at line 855 of file questionusage.php.

notify_step_added ( question_attempt_step step,
question_attempt qa,
seq 
)

Called when a new step is added to a question attempt in this usage.

Parameters:
question_attempt_step$stepthe new step.
question_attempt$qathe usage it is being added to.
int$seqthe sequence number of the new step.

Implements question_usage_observer.

Definition at line 861 of file questionusage.php.

Called when a new step is updated in a question attempt in this usage.

Parameters:
question_attempt_step$stepthe step to delete.
question_attempt$qathe usage it is being added to.

Implements question_usage_observer.

Definition at line 865 of file questionusage.php.

Called when a new step is updated in a question attempt in this usage.

Parameters:
question_attempt_step$stepthe step that was updated.
question_attempt$qathe usage it is being added to.
int$seqthe sequence number of the new step.

Implements question_usage_observer.

Definition at line 863 of file questionusage.php.


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