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

Public Member Functions

 __construct (array $arr)
 rewind ()
 current ()
 key ()
 next ()
 valid ()
 close ()

Detailed Description

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.


Constructor & Destructor Documentation

__construct ( array arr)

Definition at line 39 of file backup_array_iterator.class.php.


Member Function Documentation

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.

Here is the caller graph for this function:

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.

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