From d8d0a53b90de6b3184a01f1f075cdddf45e3caaa Mon Sep 17 00:00:00 2001 From: Silvio Date: Mon, 19 Jul 2010 18:20:11 -0300 Subject: Minor changes --- classes/iterators/IsisItemIterator.php | 12 ++++++------ 1 file 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); -- cgit v1.2.3