\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 : int

Current iterator position

Type

int

Methods

__construct()

__construct(\PHPExcel  $subject = null) : mixed

Create a new worksheet iterator

Parameters

\PHPExcel $subject

Returns

mixed —

__destruct()

__destruct() : mixed

Destructor

Returns

mixed —

rewind()

rewind() : mixed

Rewind iterator

Returns

mixed —

current()

current() : \PHPExcel_Worksheet

Current PHPExcel_Worksheet

Returns

\PHPExcel_Worksheet —

key()

key() : int

Current key

Returns

int —

next()

next() : mixed

Next value

Returns

mixed —

valid()

valid() : bool

More PHPExcel_Worksheet instances available?

Returns

bool —