|
Moodle
2.2.1
http://www.collinsharper.com
|


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) | |
Null implmentation of the question_usage_watcher interface. Does nothing.
Definition at line 854 of file questionusage.php.
| notify_attempt_added | ( | question_attempt $ | qa | ) |
Called when a new question attempt is added to this usage.
| question_attempt | $qa | the 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.
| question_attempt | $qa | the newly added question attempt. |
Implements question_usage_observer.
Definition at line 857 of file questionusage.php.
| notify_modified | ( | ) |
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.
| question_attempt_step | $step | the new step. |
| question_attempt | $qa | the usage it is being added to. |
| int | $seq | the sequence number of the new step. |
Implements question_usage_observer.
Definition at line 861 of file questionusage.php.
| notify_step_deleted | ( | question_attempt_step $ | step, |
| question_attempt $ | qa | ||
| ) |
Called when a new step is updated in a question attempt in this usage.
| question_attempt_step | $step | the step to delete. |
| question_attempt | $qa | the usage it is being added to. |
Implements question_usage_observer.
Definition at line 865 of file questionusage.php.
| notify_step_modified | ( | question_attempt_step $ | step, |
| question_attempt $ | qa, | ||
| $ | seq | ||
| ) |
Called when a new step is updated in a question attempt in this usage.
| question_attempt_step | $step | the step that was updated. |
| question_attempt | $qa | the usage it is being added to. |
| int | $seq | the sequence number of the new step. |
Implements question_usage_observer.
Definition at line 863 of file questionusage.php.