aboutsummaryrefslogtreecommitdiff
path: root/classes/IsisSubfieldIterator.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/IsisSubfieldIterator.php')
-rw-r--r--classes/IsisSubfieldIterator.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/IsisSubfieldIterator.php b/classes/IsisSubfieldIterator.php
index 8a35399..36d3d06 100644
--- a/classes/IsisSubfieldIterator.php
+++ b/classes/IsisSubfieldIterator.php
@@ -23,6 +23,8 @@ class IsisSubfieldIterator implements Iterator
* Field to iterate over.
*/
public function __construct($class, $field) {
+ $this->class = $class;
+ $this->field = $field;
$this->rows = $class->getRows($field);
$this->fieldset = $class->getSubfieldList($field);
$this->keys = array_keys($this->fieldset);