Moodle  2.2.1
http://www.collinsharper.com
backup_null_iterator Class Reference

Public Member Functions

 rewind ()
 current ()
 key ()
 next ()
 valid ()
 close ()

Detailed Description

Implementation of iterator interface to work without information

This class implementes the iterator but does nothing (as far as it doesn't handle real data at all). It's here to provide one common API when we want to skip some elements from structure, while also working with array/db iterators at the same time.

TODO: Finish phpdocs

Definition at line 35 of file backup_null_iterator.class.php.


Member Function Documentation

close ( )

Definition at line 53 of file backup_null_iterator.class.php.

current ( )

Definition at line 40 of file backup_null_iterator.class.php.

key ( )

Definition at line 43 of file backup_null_iterator.class.php.

next ( )

Definition at line 46 of file backup_null_iterator.class.php.

rewind ( )

Definition at line 37 of file backup_null_iterator.class.php.

valid ( )

Definition at line 49 of file backup_null_iterator.class.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations