Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
OpenSpout\Reader\CSV\SheetIterator Class Reference
Inheritance diagram for OpenSpout\Reader\CSV\SheetIterator:
OpenSpout\Reader\SheetIteratorInterface

Public Member Functions

 __construct (Sheet $sheet)
 
 current ()
 Return the current element.
 
 key ()
 Return the key of the current element.
 
 next ()
 Move forward to next element.
 
 rewind ()
 Rewind the Iterator to the first element.
 
 valid ()
 Checks if current position is valid.
 

Constructor & Destructor Documentation

◆ __construct()

OpenSpout\Reader\CSV\SheetIterator::__construct ( Sheet $sheet)
Parameters
Sheet$sheetCorresponding unique sheet

Member Function Documentation

◆ current()

OpenSpout\Reader\CSV\SheetIterator::current ( )

◆ key()

OpenSpout\Reader\CSV\SheetIterator::key ( )

Return the key of the current element.

See also
http://php.net/manual/en/iterator.key.php

◆ next()

OpenSpout\Reader\CSV\SheetIterator::next ( )

Move forward to next element.

See also
http://php.net/manual/en/iterator.next.php

◆ rewind()

OpenSpout\Reader\CSV\SheetIterator::rewind ( )

Rewind the Iterator to the first element.

See also
http://php.net/manual/en/iterator.rewind.php

◆ valid()

OpenSpout\Reader\CSV\SheetIterator::valid ( )

Checks if current position is valid.

See also
http://php.net/manual/en/iterator.valid.php

The documentation for this class was generated from the following file: