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
RowIterator.php
Go to the documentation of this file.
1
<?php
38
class
PHPExcel_Worksheet_RowIterator
extends
CachingIterator
39
{
45
private
$_subject
;
46
52
private
$_position
= 1;
53
59
public
function
__construct
(
PHPExcel_Worksheet
$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 = 1;
76
}
77
83
public
function
current
() {
84
return
new
PHPExcel_Worksheet_Row
($this->_subject, $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->getHighestRow();
110
}
111
}
Services
Excel
PHPExcel
1.7.6
Classes
PHPExcel
Worksheet
RowIterator.php
Generated on Mon Apr 25 2016 19:01:30 for ILIAS by
1.8.1.2 (using
Doxyfile
)