summaryrefslogtreecommitdiff
path: root/program/include/rcube_result_set.php
diff options
context:
space:
mode:
Diffstat (limited to 'program/include/rcube_result_set.php')
-rw-r--r--program/include/rcube_result_set.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/program/include/rcube_result_set.php b/program/include/rcube_result_set.php
index 1739cacff..10361609f 100644
--- a/program/include/rcube_result_set.php
+++ b/program/include/rcube_result_set.php
@@ -44,27 +44,27 @@ class rcube_result_set
{
$this->records[] = $rec;
}
-
+
function iterate()
{
return $this->records[$this->current++];
}
-
+
function first()
{
$this->current = 0;
return $this->records[$this->current++];
}
-
+
// alias for iterate()
function next()
{
return $this->iterate();
}
-
+
function seek($i)
{
$this->current = $i;
}
-
+
}