From 9fb011b14ef82caf9adf266d81a4984b17280822 Mon Sep 17 00:00:00 2001 From: Silvio Date: Mon, 23 Aug 2010 16:21:12 -0300 Subject: Refactoring CSV app using IsisConnector --- classes/IsisConnector.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'classes/IsisConnector.php') diff --git a/classes/IsisConnector.php b/classes/IsisConnector.php index 901e15b..2ab2ee8 100644 --- a/classes/IsisConnector.php +++ b/classes/IsisConnector.php @@ -116,6 +116,8 @@ class IsisConnector extends IsisMap { * Field data. */ public function getMainItems($field) { + $values = array(); + foreach (new IsisRowIterator($this, $field) as $row) { $values[$row] = $this->getMainItem($field, $row); } -- cgit v1.2.3