ILIAS
eassessment Revision 61809
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
WorksheetIterator.php
Go to the documentation of this file.
1
<?php
38
class
PHPExcel_WorksheetIterator
extends
CachingIterator
39
{
45
private
$_subject
;
46
52
private
$_position
= 0;
53
59
public
function
__construct
(
PHPExcel
$subject = null) {
60
// Set subject
61
$this->_subject = $subject;
62
}
63
67
public
function
__destruct
() {
68
unset($this->_subject);
69
}
70
74
public
function
rewind
() {
75
$this->_position = 0;
76
}
77
83
public
function
current
() {
84
return
$this->_subject->getSheet($this->_position);
85
}
86
92
public
function
key
() {
93
return
$this->_position
;
94
}
95
99
public
function
next
() {
100
++
$this->_position
;
101
}
102
108
public
function
valid
() {
109
return
$this->_position < $this->_subject->getSheetCount();
110
}
111
}
Services
Excel
PHPExcel
1.7.6
Classes
PHPExcel
WorksheetIterator.php
Generated on Mon Apr 25 2016 19:01:30 for ILIAS by
1.8.1.2 (using
Doxyfile
)