Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | List of all members
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: