Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
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: