ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct (PHPExcel_Worksheet $subject=null, $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 column 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 columns exist in the worksheet range of columns that we're iterating. More... | |
Private Attributes | |
$_subject | |
$_position = 0 | |
$_startColumn = 0 | |
$_endColumn = 0 | |
Definition at line 38 of file ColumnIterator.php.
PHPExcel_Worksheet_ColumnIterator::__construct | ( | PHPExcel_Worksheet | $subject = null , |
$startColumn = 'A' , |
|||
$endColumn = null |
|||
) |
Create a new column iterator.
PHPExcel_Worksheet | $subject | The worksheet to iterate over |
string | $startColumn | The column address at which to start iterating |
string | $endColumn | Optionally, the column address at which to stop iterating |
Definition at line 77 of file ColumnIterator.php.
References resetEnd(), and resetStart().
PHPExcel_Worksheet_ColumnIterator::__destruct | ( | ) |
PHPExcel_Worksheet_ColumnIterator::current | ( | ) |
Return the current column in this worksheet.
Definition at line 147 of file ColumnIterator.php.
References PHPExcel_Cell\stringFromColumnIndex().
PHPExcel_Worksheet_ColumnIterator::key | ( | ) |
Return the current iterator key.
Definition at line 156 of file ColumnIterator.php.
References PHPExcel_Cell\stringFromColumnIndex().
PHPExcel_Worksheet_ColumnIterator::next | ( | ) |
Set the iterator to its next value.
Definition at line 163 of file ColumnIterator.php.
References $_position.
PHPExcel_Worksheet_ColumnIterator::prev | ( | ) |
Set the iterator to its previous value.
PHPExcel_Exception |
Definition at line 172 of file ColumnIterator.php.
References $_position, and PHPExcel_Cell\stringFromColumnIndex().
PHPExcel_Worksheet_ColumnIterator::resetEnd | ( | $endColumn = null | ) |
(Re)Set the end column
string | $endColumn | The column address at which to stop iterating |
Definition at line 111 of file ColumnIterator.php.
References PHPExcel_Cell\columnIndexFromString().
Referenced by __construct().
PHPExcel_Worksheet_ColumnIterator::resetStart | ( | $startColumn = 'A' | ) |
(Re)Set the start column and the current column pointer
integer | $startColumn | The column address at which to start iterating |
Definition at line 97 of file ColumnIterator.php.
References PHPExcel_Cell\columnIndexFromString(), and seek().
Referenced by __construct().
PHPExcel_Worksheet_ColumnIterator::rewind | ( | ) |
Rewind the iterator to the starting column.
Definition at line 138 of file ColumnIterator.php.
References $_startColumn.
PHPExcel_Worksheet_ColumnIterator::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 125 of file ColumnIterator.php.
References $column, and PHPExcel_Cell\columnIndexFromString().
Referenced by resetStart().
PHPExcel_Worksheet_ColumnIterator::valid | ( | ) |
Indicate if more columns exist in the worksheet range of columns that we're iterating.
Definition at line 189 of file ColumnIterator.php.
References $_endColumn.
|
private |
Definition at line 67 of file ColumnIterator.php.
Referenced by valid().
|
private |
Definition at line 52 of file ColumnIterator.php.
|
private |
Definition at line 59 of file ColumnIterator.php.
Referenced by rewind().
|
private |
Definition at line 45 of file ColumnIterator.php.