aboutsummaryrefslogtreecommitdiff
path: root/classes/IsisFinder.php
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-08-19 17:50:42 -0300
committerSilvio <silvio@devlet.com.br>2010-08-19 17:50:42 -0300
commitc8a371afff72055285a6db9729bda0bacb90f9e3 (patch)
tree9cfb1b1f61fa165e1bc5bc236d29364b6c9265d5 /classes/IsisFinder.php
parent5c4d0bf21d6ddf98d3907bff5644263d0eba39bc (diff)
downloadcinisis-c8a371afff72055285a6db9729bda0bacb90f9e3.tar.gz
cinisis-c8a371afff72055285a6db9729bda0bacb90f9e3.tar.bz2
Fixing audit
Diffstat (limited to 'classes/IsisFinder.php')
-rw-r--r--classes/IsisFinder.php6
1 files changed, 3 insertions, 3 deletions
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);