class PHPExcel_WorksheetIterator implements Iterator

PHPExcel_WorksheetIterator

Copyright (c) 2006 - 2015 PHPExcel

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Methods

__construct(PHPExcel $subject = null)

Create a new worksheet iterator

__destruct()

Destructor

rewind()

Rewind iterator

current()

Current PHPExcel_Worksheet

int
key()

Current key

next()

Next value

boolean
valid()

More PHPExcel_Worksheet instances available?

Details

at line 58
__construct(PHPExcel $subject = null)

Create a new worksheet iterator

Parameters

PHPExcel $subject

at line 67
__destruct()

Destructor

at line 75
rewind()

Rewind iterator

at line 85
PHPExcel_Worksheet current()

Current PHPExcel_Worksheet

Return Value

PHPExcel_Worksheet

at line 95
int key()

Current key

Return Value

int

at line 103
next()

Next value

at line 113
boolean valid()

More PHPExcel_Worksheet instances available?

Return Value

boolean