ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Public Member Functions | |
__construct (PHPExcel_Worksheet $subject=null, $startRow=1, $endRow=null) | |
Create a new row iterator. More... | |
__destruct () | |
Destructor. More... | |
resetStart ($startRow=1) | |
(Re)Set the start row and the current row pointer More... | |
resetEnd ($endRow=null) | |
(Re)Set the end row More... | |
seek ($row=1) | |
Set the row pointer to the selected row. More... | |
rewind () | |
Rewind the iterator to the starting row. More... | |
current () | |
Return the current row in this worksheet. More... | |
key () | |
Return the current iterator key. More... | |
next () | |
Set the iterator to its next value. More... | |
prev () | |
Set the iterator to its previous value. More... | |
valid () | |
Indicate if more rows exist in the worksheet range of rows that we're iterating. More... | |
Private Attributes | |
$_subject | |
$_position = 1 | |
$_startRow = 1 | |
$_endRow = 1 | |
Definition at line 38 of file RowIterator.php.
PHPExcel_Worksheet_RowIterator::__construct | ( | PHPExcel_Worksheet | $subject = null , |
$startRow = 1 , |
|||
$endRow = null |
|||
) |
Create a new row iterator.
PHPExcel_Worksheet | $subject | The worksheet to iterate over |
integer | $startRow | The row number at which to start iterating |
integer | $endRow | Optionally, the row number at which to stop iterating |
Definition at line 77 of file RowIterator.php.
References resetEnd(), and resetStart().
PHPExcel_Worksheet_RowIterator::__destruct | ( | ) |
PHPExcel_Worksheet_RowIterator::current | ( | ) |
Return the current row in this worksheet.
Definition at line 144 of file RowIterator.php.
PHPExcel_Worksheet_RowIterator::key | ( | ) |
Return the current iterator key.
Definition at line 153 of file RowIterator.php.
References $_position.
PHPExcel_Worksheet_RowIterator::next | ( | ) |
Set the iterator to its next value.
Definition at line 160 of file RowIterator.php.
References $_position.
PHPExcel_Worksheet_RowIterator::prev | ( | ) |
Set the iterator to its previous value.
Definition at line 167 of file RowIterator.php.
References $_position.
PHPExcel_Worksheet_RowIterator::resetEnd | ( | $endRow = null | ) |
(Re)Set the end row
integer | $endRow | The row number at which to stop iterating |
Definition at line 110 of file RowIterator.php.
Referenced by __construct().
PHPExcel_Worksheet_RowIterator::resetStart | ( | $startRow = 1 | ) |
(Re)Set the start row and the current row pointer
integer | $startRow | The row number at which to start iterating |
Definition at line 97 of file RowIterator.php.
References seek().
Referenced by __construct().
PHPExcel_Worksheet_RowIterator::rewind | ( | ) |
Rewind the iterator to the starting row.
Definition at line 135 of file RowIterator.php.
References $_startRow.
PHPExcel_Worksheet_RowIterator::seek | ( | $row = 1 | ) |
Set the row pointer to the selected row.
integer | $row | The row number to set the current pointer at |
PHPExcel_Exception |
Definition at line 123 of file RowIterator.php.
References $row.
Referenced by resetStart().
PHPExcel_Worksheet_RowIterator::valid | ( | ) |
Indicate if more rows exist in the worksheet range of rows that we're iterating.
Definition at line 180 of file RowIterator.php.
References $_endRow.
|
private |
Definition at line 67 of file RowIterator.php.
Referenced by valid().
|
private |
Definition at line 52 of file RowIterator.php.
|
private |
Definition at line 59 of file RowIterator.php.
Referenced by rewind().
|
private |
Definition at line 45 of file RowIterator.php.