Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
backup_array_iterator Class Reference

Implementation of iterator interface to work with common arrays. More...

Inheritance diagram for backup_array_iterator:

Public Member Functions

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

Detailed Description

Implementation of iterator interface to work with common arrays.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

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


The documentation for this class was generated from the following file: