Differences Between: [Versions 310 and 311] [Versions 310 and 400] [Versions 310 and 401] [Versions 310 and 402] [Versions 310 and 403]
(no description)
File Size: | 170 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
RowIterator:: (11 methods):
__construct()
__destruct()
resetStart()
resetEnd()
seek()
rewind()
current()
key()
next()
prev()
valid()
Class: RowIterator - X-Ref
__construct(Worksheet $subject, $startRow = 1, $endRow = null) X-Ref |
Create a new row iterator. param: Worksheet $subject The worksheet to iterate over param: int $startRow The row number at which to start iterating param: int $endRow Optionally, the row number at which to stop iterating |
__destruct() X-Ref |
Destructor. |
resetStart($startRow = 1) X-Ref |
(Re)Set the start row and the current row pointer. param: int $startRow The row number at which to start iterating return: RowIterator |
resetEnd($endRow = null) X-Ref |
(Re)Set the end row. param: int $endRow The row number at which to stop iterating return: RowIterator |
seek($row = 1) X-Ref |
Set the row pointer to the selected row. param: int $row The row number to set the current pointer at return: RowIterator |
rewind() X-Ref |
Rewind the iterator to the starting row. |
current() X-Ref |
Return the current row in this worksheet. return: Row |
key() X-Ref |
Return the current iterator key. return: int |
next() X-Ref |
Set the iterator to its next value. |
prev() X-Ref |
Set the iterator to its previous value. |
valid() X-Ref |
Indicate if more rows exist in the worksheet range of rows that we're iterating. return: bool |