\PHPExcel_WorksheetIterator

PHPExcel_WorksheetIterator

Used to iterate worksheets in PHPExcel

Summary

Methods
Properties
Constants
__construct()
__destruct()
rewind()
current()
key()
next()
valid()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$_subject
$_position
N/A

Properties

$_subject

$_subject : \PHPExcel

Spreadsheet to iterate

Type

\PHPExcel

$_position

$_position : integer

Current iterator position

Type

integer

Methods

__construct()

__construct(\PHPExcel  $subject = null) 

Create a new worksheet iterator

Parameters

\PHPExcel $subject

__destruct()

__destruct() 

Destructor

rewind()

rewind() 

Rewind iterator

current()

current() : \PHPExcel_Worksheet

Current PHPExcel_Worksheet

Returns

\PHPExcel_Worksheet

key()

key() : integer

Current key

Returns

integer

next()

next() 

Next value

valid()

valid() : boolean

More PHPExcel_Worksheet instances available?

Returns

boolean