aboutsummaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-07-19 18:20:11 -0300
committerSilvio <silvio@devlet.com.br>2010-07-19 18:20:11 -0300
commitd8d0a53b90de6b3184a01f1f075cdddf45e3caaa (patch)
tree55adbb00c4a4bd11f6fd983053bc788895656e9e /classes
parent1d84217ed97be237d2696c85a997c9e52114b984 (diff)
downloadcinisis-d8d0a53b90de6b3184a01f1f075cdddf45e3caaa.tar.gz
cinisis-d8d0a53b90de6b3184a01f1f075cdddf45e3caaa.tar.bz2
Minor changes
Diffstat (limited to 'classes')
-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);