aboutsummaryrefslogtreecommitdiff
path: root/classes/iterators/IsisItemIterator.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/iterators/IsisItemIterator.php')
-rw-r--r--classes/iterators/IsisItemIterator.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/classes/iterators/IsisItemIterator.php b/classes/iterators/IsisItemIterator.php
index 5c28b2c..2fc4780 100644
--- a/classes/iterators/IsisItemIterator.php
+++ b/classes/iterators/IsisItemIterator.php
@@ -26,14 +26,14 @@ class IsisItemIterator implements Iterator
* By default no mapping is made.
*/
public function __construct($class, $field, $main = false) {
- $this->class = $class;
- $this->field = $field;
- $this->rows = $class->getRows($field);
+ $this->class = $class;
+ $this->field = $field;
+ $this->rows = $class->getRows($field);
// Handle subfields
- $this->fieldset = $class->getSubfieldList($field);
- $this->keys = array_keys($this->fieldset);
- $this->items = count($this->keys);
+ $this->fieldset = $class->getSubfieldList($field);
+ $this->keys = array_keys($this->fieldset);
+ $this->items = count($this->keys);
// Sum up main item
$this->fieldset[] = $class->getMainItem($field);