ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct (PHPExcel_Worksheet $subject=null, $columnIndex, $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 cell in this worksheet column. 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... | |
Public Member Functions inherited from PHPExcel_Worksheet_CellIterator | |
__destruct () | |
Destructor. More... | |
getIterateOnlyExistingCells () | |
Get loop only existing cells. More... | |
setIterateOnlyExistingCells ($value=true) | |
Set the iterator to loop only existing cells. More... | |
Protected Member Functions | |
adjustForExistingOnlyRange () | |
Validate start/end values for "IterateOnlyExistingCells" mode, and adjust if necessary. More... | |
Protected Member Functions inherited from PHPExcel_Worksheet_CellIterator | |
adjustForExistingOnlyRange () | |
Validate start/end values for "IterateOnlyExistingCells" mode, and adjust if necessary. More... | |
Protected Attributes | |
$_columnIndex | |
$_startRow = 1 | |
$_endRow = 1 | |
Protected Attributes inherited from PHPExcel_Worksheet_CellIterator | |
$_subject | |
$_position = null | |
$_onlyExistingCells = false | |
Definition at line 38 of file ColumnCellIterator.php.
PHPExcel_Worksheet_ColumnCellIterator::__construct | ( | PHPExcel_Worksheet | $subject = null , |
$columnIndex, | |||
$startRow = 1 , |
|||
$endRow = null |
|||
) |
Create a new row iterator.
PHPExcel_Worksheet | $subject | The worksheet to iterate over |
string | $columnIndex | The column that we want to iterate |
integer | $startRow | The row number at which to start iterating |
integer | $endRow | Optionally, the row number at which to stop iterating |
Definition at line 69 of file ColumnCellIterator.php.
References PHPExcel_Cell\columnIndexFromString(), resetEnd(), and resetStart().
PHPExcel_Worksheet_ColumnCellIterator::__destruct | ( | ) |
Destructor.
Definition at line 80 of file ColumnCellIterator.php.
|
protected |
Validate start/end values for "IterateOnlyExistingCells" mode, and adjust if necessary.
PHPExcel_Exception |
Definition at line 196 of file ColumnCellIterator.php.
References $_endRow, and $_startRow.
Referenced by resetEnd(), and resetStart().
PHPExcel_Worksheet_ColumnCellIterator::current | ( | ) |
Return the current cell in this worksheet column.
Definition at line 143 of file ColumnCellIterator.php.
PHPExcel_Worksheet_ColumnCellIterator::key | ( | ) |
Return the current iterator key.
Definition at line 152 of file ColumnCellIterator.php.
References PHPExcel_Worksheet_CellIterator\$_position.
PHPExcel_Worksheet_ColumnCellIterator::next | ( | ) |
Set the iterator to its next value.
Definition at line 159 of file ColumnCellIterator.php.
References PHPExcel_Worksheet_CellIterator\$_position.
PHPExcel_Worksheet_ColumnCellIterator::prev | ( | ) |
Set the iterator to its previous value.
Definition at line 170 of file ColumnCellIterator.php.
References PHPExcel_Worksheet_CellIterator\$_position.
PHPExcel_Worksheet_ColumnCellIterator::resetEnd | ( | $endRow = null | ) |
(Re)Set the end row
integer | $endRow | The row number at which to stop iterating |
PHPExcel_Exception |
Definition at line 106 of file ColumnCellIterator.php.
References adjustForExistingOnlyRange().
Referenced by __construct().
PHPExcel_Worksheet_ColumnCellIterator::resetStart | ( | $startRow = 1 | ) |
(Re)Set the start row and the current row pointer
integer | $startRow | The row number at which to start iterating |
PHPExcel_Exception |
Definition at line 91 of file ColumnCellIterator.php.
References adjustForExistingOnlyRange(), and seek().
Referenced by __construct().
PHPExcel_Worksheet_ColumnCellIterator::rewind | ( | ) |
Rewind the iterator to the starting row.
Definition at line 134 of file ColumnCellIterator.php.
References $_startRow.
PHPExcel_Worksheet_ColumnCellIterator::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 120 of file ColumnCellIterator.php.
References $row.
Referenced by resetStart().
PHPExcel_Worksheet_ColumnCellIterator::valid | ( | ) |
Indicate if more rows exist in the worksheet range of rows that we're iterating.
Definition at line 187 of file ColumnCellIterator.php.
References $_endRow.
|
protected |
Definition at line 45 of file ColumnCellIterator.php.
|
protected |
Definition at line 59 of file ColumnCellIterator.php.
Referenced by adjustForExistingOnlyRange(), and valid().
|
protected |
Definition at line 52 of file ColumnCellIterator.php.
Referenced by adjustForExistingOnlyRange(), and rewind().