PHPExcel_Worksheet
[ class tree: PHPExcel_Worksheet ] [ index: PHPExcel_Worksheet ] [ all elements ]

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 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel)

Variables

Methods


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 - 2009 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 164]

boolean getIterateOnlyExistingCells( )

Get loop only existing cells

Get loop only existing cells




Tags:

access:  public


[ Top ]

method key [line 139]

int key( )

Current key

Current key




Tags:

access:  public


Overrides IteratorIterator::key ( ) (parent method not documented)

[ Top ]

method next [line 146]

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 173]

boolean setIterateOnlyExistingCells( [ $value = true])

Set loop only existing cells

Set loop only existing cells




Tags:

access:  public


Parameters:

   $value  

[ Top ]

method valid [line 155]

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, 10 Aug 2009 08:02:38 +0200 by phpDocumentor 1.4.1