summaryrefslogtreecommitdiff
path: root/program/include/rcube_result_set.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-06-03 11:03:13 +0000
committeralecpl <alec@alec.pl>2011-06-03 11:03:13 +0000
commite9a9f2f6c52e41f3e85fc3ab0ee93afecd080892 (patch)
tree325e109797a408c5ec14ba5952dbc24882971285 /program/include/rcube_result_set.php
parent4649969c16a7dc938032de8f2b5bfcfb20e7bb03 (diff)
- Added addressbook advanced search
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;
}
-
+
}