ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct (PHPExcel_Worksheet $subject=null, $rowIndex=1, $startColumn='A', $endColumn=null) | |
Create a new column iterator. More... | |
__destruct () | |
Destructor. More... | |
resetStart ($startColumn='A') | |
(Re)Set the start column and the current column pointer More... | |
resetEnd ($endColumn=null) | |
(Re)Set the end column More... | |
seek ($column='A') | |
Set the column pointer to the selected column. More... | |
rewind () | |
Rewind the iterator to the starting column. More... | |
current () | |
Return the current cell in this worksheet row. 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 columns exist in the worksheet range of columns 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 | |
$_rowIndex | |
$_startColumn = 0 | |
$_endColumn = 0 | |
Protected Attributes inherited from PHPExcel_Worksheet_CellIterator | |
$_subject | |
$_position = null | |
$_onlyExistingCells = false | |
Definition at line 38 of file RowCellIterator.php.
PHPExcel_Worksheet_RowCellIterator::__construct | ( | PHPExcel_Worksheet | $subject = null , |
$rowIndex = 1 , |
|||
$startColumn = 'A' , |
|||
$endColumn = null |
|||
) |
Create a new column iterator.
PHPExcel_Worksheet | $subject | The worksheet to iterate over |
integer | $rowIndex | The row that we want to iterate |
string | $startColumn | The column address at which to start iterating |
string | $endColumn | Optionally, the column address at which to stop iterating |
Definition at line 69 of file RowCellIterator.php.
References resetEnd(), and resetStart().
PHPExcel_Worksheet_RowCellIterator::__destruct | ( | ) |
|
protected |
Validate start/end values for "IterateOnlyExistingCells" mode, and adjust if necessary.
PHPExcel_Exception |
Definition at line 205 of file RowCellIterator.php.
References $_endColumn, and $_startColumn.
Referenced by resetEnd(), and resetStart().
PHPExcel_Worksheet_RowCellIterator::current | ( | ) |
Return the current cell in this worksheet row.
Definition at line 146 of file RowCellIterator.php.
PHPExcel_Worksheet_RowCellIterator::key | ( | ) |
Return the current iterator key.
Definition at line 155 of file RowCellIterator.php.
References PHPExcel_Cell\stringFromColumnIndex().
PHPExcel_Worksheet_RowCellIterator::next | ( | ) |
Set the iterator to its next value.
Definition at line 162 of file RowCellIterator.php.
References PHPExcel_Worksheet_CellIterator\$_position.
PHPExcel_Worksheet_RowCellIterator::prev | ( | ) |
Set the iterator to its previous value.
PHPExcel_Exception |
Definition at line 175 of file RowCellIterator.php.
References PHPExcel_Worksheet_CellIterator\$_position, and PHPExcel_Cell\stringFromColumnIndex().
PHPExcel_Worksheet_RowCellIterator::resetEnd | ( | $endColumn = null | ) |
(Re)Set the end column
string | $endColumn | The column address at which to stop iterating |
PHPExcel_Exception |
Definition at line 107 of file RowCellIterator.php.
References adjustForExistingOnlyRange(), and PHPExcel_Cell\columnIndexFromString().
Referenced by __construct().
PHPExcel_Worksheet_RowCellIterator::resetStart | ( | $startColumn = 'A' | ) |
(Re)Set the start column and the current column pointer
integer | $startColumn | The column address at which to start iterating |
PHPExcel_Exception |
Definition at line 91 of file RowCellIterator.php.
References adjustForExistingOnlyRange(), PHPExcel_Cell\columnIndexFromString(), seek(), and PHPExcel_Cell\stringFromColumnIndex().
Referenced by __construct().
PHPExcel_Worksheet_RowCellIterator::rewind | ( | ) |
Rewind the iterator to the starting column.
Definition at line 137 of file RowCellIterator.php.
References $_startColumn.
PHPExcel_Worksheet_RowCellIterator::seek | ( | $column = 'A' | ) |
Set the column pointer to the selected column.
string | $column | The column address to set the current pointer at |
PHPExcel_Exception |
Definition at line 122 of file RowCellIterator.php.
References $column, and PHPExcel_Cell\columnIndexFromString().
Referenced by resetStart().
PHPExcel_Worksheet_RowCellIterator::valid | ( | ) |
Indicate if more columns exist in the worksheet range of columns that we're iterating.
Definition at line 196 of file RowCellIterator.php.
References $_endColumn.
|
protected |
Definition at line 59 of file RowCellIterator.php.
Referenced by adjustForExistingOnlyRange(), and valid().
|
protected |
Definition at line 45 of file RowCellIterator.php.
|
protected |
Definition at line 52 of file RowCellIterator.php.
Referenced by adjustForExistingOnlyRange(), and rewind().