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

Public Member Functions | |
| __construct (question_attempt $qa) | |
| current () | |
| key () | |
| next () | |
| rewind () | |
| valid () | |
| offsetExists ($i) | |
| offsetGet ($i) | |
| offsetSet ($offset, $value) | |
| offsetUnset ($offset) | |
Protected Attributes | |
| $qa | |
| $i | |
A class abstracting access to the question_attempt::$states array.
This is actively linked to question_attempt. If you add an new step mid-iteration, then it will be included.
Definition at line 1314 of file questionattempt.php.
| __construct | ( | question_attempt $ | qa | ) |
Do not call this constructor directly. Use question_attempt::get_step_iterator().
| question_attempt | $qa | the attempt to iterate over. |
Definition at line 1325 of file questionattempt.php.

| current | ( | ) |
Definition at line 1331 of file questionattempt.php.

| key | ( | ) |
Definition at line 1335 of file questionattempt.php.
| next | ( | ) |
Reimplemented in question_attempt_reverse_step_iterator.
Definition at line 1338 of file questionattempt.php.
| offsetExists | ( | $ | i | ) |
Definition at line 1350 of file questionattempt.php.

| offsetGet | ( | $ | i | ) |
Definition at line 1354 of file questionattempt.php.

| offsetSet | ( | $ | offset, |
| $ | value | ||
| ) |
Definition at line 1357 of file questionattempt.php.
| offsetUnset | ( | $ | offset | ) |
Definition at line 1360 of file questionattempt.php.
| rewind | ( | ) |
Reimplemented in question_attempt_reverse_step_iterator.
Definition at line 1341 of file questionattempt.php.

| valid | ( | ) |
Definition at line 1345 of file questionattempt.php.

$i [protected] |
Definition at line 1318 of file questionattempt.php.
$qa [protected] |
Definition at line 1316 of file questionattempt.php.