PHPExcel_Worksheet

# Class: PHPExcel_Worksheet_CellIterator Source Location: /PHPExcel/Worksheet/CellIterator.php
### Class Overview
    IteratorIterator
       |
       --PHPExcel_Worksheet_CellIterator
PHPExcel_Worksheet_CellIterator #### Author(s): #### Copyright: Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel) | ### Variables $_onlyExistingCells $_position $_rowIndex $_subject | ### Methods __construct __destruct current getIterateOnlyExistingCells key next rewind setIterateOnlyExistingCells valid
### Inherited Methods #### Class: IteratorIterator (Internal Class) constructor __construct ( $iterator ) current ( ) getInnerIterator ( ) key ( ) next ( ) rewind ( ) valid ( )
### Class Details [line 56] PHPExcel_Worksheet_CellIterator PHPExcel_Worksheet_CellIterator Used to iterate rows in a PHPExcel_Worksheet #### Tags:
copyright: | Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel)
[ Top ] ### Class Variables #### $_onlyExistingCells = true [line 84] Loop only existing cells Loop only existing cells #### Tags:
access: | private
Type: | boolean
[ Top ] #### $_position = 0 [line 77] Current iterator position Current iterator position #### Tags:
access: | private
Type: | int
[ Top ] #### $_rowIndex = [line 70] Row index Row index #### Tags:
access: | private
Type: | int
[ Top ] #### $_subject = [line 63] PHPExcel_Worksheet to iterate PHPExcel_Worksheet to iterate #### Tags:
access: | private
Type: | PHPExcel_Worksheet
[ Top ] ### Class Methods ### constructor __construct [line 92]
`PHPExcel_Worksheet_CellIterator __construct( [PHPExcel_Worksheet $subject = null], [int $rowIndex = 1])`
Create a new cell iterator Create a new cell iterator #### Tags:
access: | public
Overrides IteratorIterator::constructor __construct ( $iterator ) (parent method not documented) #### Parameters:
PHPExcel_Worksheet | $subject |
int | $rowIndex |
[ Top ] ### destructor __destruct [line 101]
`void __destruct( )`
Destructor Destructor #### Tags:
access: | public
[ Top ] ### method current [line 117]
`PHPExcel_Cell current( )`
Current PHPExcel_Cell Current PHPExcel_Cell #### Tags:
access: | public
Overrides IteratorIterator::current ( ) (parent method not documented) [ Top ] ### method getIterateOnlyExistingCells [line 167]
`boolean getIterateOnlyExistingCells( )`
Get loop only existing cells Get loop only existing cells #### Tags:
access: | public
[ Top ] ### method key [line 126]
`int key( )`
Current key Current key #### Tags:
access: | public
Overrides IteratorIterator::key ( ) (parent method not documented) [ Top ] ### method next [line 133]
`void next( )`
Next value Next value #### Tags:
access: | public
Overrides IteratorIterator::next ( ) (parent method not documented) [ Top ] ### method rewind [line 108]
`void rewind( )`
Rewind iterator Rewind iterator #### Tags:
access: | public
Overrides IteratorIterator::rewind ( ) (parent method not documented) [ Top ] ### method setIterateOnlyExistingCells [line 176]
`boolean setIterateOnlyExistingCells( [ $value = true])`
Set loop only existing cells Set loop only existing cells #### Tags:
access: | public
#### Parameters:
| $value |
[ Top ] ### method valid [line 142]
`boolean valid( )`
More PHPExcel_Cell instances available? More PHPExcel_Cell instances available? #### Tags:
access: | public
Overrides IteratorIterator::valid ( ) (parent method not documented) [ Top ] Documentation generated on Mon, 11 Jan 2010 08:07:10 +0100 by phpDocumentor 1.4.1