Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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: