From c8a371afff72055285a6db9729bda0bacb90f9e3 Mon Sep 17 00:00:00 2001 From: Silvio Date: Thu, 19 Aug 2010 17:50:42 -0300 Subject: Fixing audit --- classes/IsisFinder.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'classes/IsisFinder.php') diff --git a/classes/IsisFinder.php b/classes/IsisFinder.php index 26430c6..7f7405d 100644 --- a/classes/IsisFinder.php +++ b/classes/IsisFinder.php @@ -16,7 +16,7 @@ class IsisFinder extends IsisConnector { * @return * Next repetition entry and result. */ - public function nextRepetition($entry = 1, $field) { + public function nextRepetition($field, $entry = 1) { foreach(new IsisEntryIterator($this, $entry) as $entry => $result) { if (count($this->getValues($field)) >= 2) { return array($entry, $result); @@ -38,7 +38,7 @@ class IsisFinder extends IsisConnector { * @return * Next occurrence. */ - public function nextField($entry = 1, $field) { + public function nextField($field, $entry = 1) { foreach(new IsisEntryIterator($this, $entry) as $entry => $result) { if (count($this->getValues($field)) > 0) { return array($entry, $result); @@ -63,7 +63,7 @@ class IsisFinder extends IsisConnector { * @return * Next occurrence. */ - public function nextSubfield($entry = 1, $field, $subfield) { + public function nextSubfield($field, $subfield, $entry = 1) { foreach(new IsisEntryIterator($this, $entry) as $entry => $result) { if ($this->hasSubfieldInRows($field, $subfield) !== FALSE) { return array($entry, $result); -- cgit v1.2.3