Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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.

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: