|
Moodle
2.2.1
http://www.collinsharper.com
|
Public Member Functions | |
| __construct (array $arr) | |
| rewind () | |
| current () | |
| key () | |
| next () | |
| valid () | |
| close () | |
Implementation of iterator interface to work with common arrays
This class implements the iterator interface in order to provide one common API to be used in backup and restore when, within the same code, both database recordsets (already iteratorors) and arrays of information are used.
TODO: Finish phpdocs
Definition at line 35 of file backup_array_iterator.class.php.
| __construct | ( | array $ | arr | ) |
Definition at line 39 of file backup_array_iterator.class.php.
| close | ( | ) |
Definition at line 63 of file backup_array_iterator.class.php.
| current | ( | ) |
Definition at line 47 of file backup_array_iterator.class.php.
| key | ( | ) |
Definition at line 51 of file backup_array_iterator.class.php.

| next | ( | ) |
Definition at line 55 of file backup_array_iterator.class.php.
| rewind | ( | ) |
Definition at line 43 of file backup_array_iterator.class.php.
| valid | ( | ) |
Definition at line 59 of file backup_array_iterator.class.php.
