summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/rcube_result_set.php
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-06-03 11:03:13 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-06-03 11:03:13 +0000
commit9e1831bf53bdddcd9e03677b066a53a5b94c581f (patch)
treee1e6247743101bf9d08ffddce9c892cb8c0df853 /roundcubemail/program/include/rcube_result_set.php
parent9befba3a75c6fa25a987c1d2009d85bc34462caa (diff)
- Added addressbook advanced search
git-svn-id: https://svn.roundcube.net/trunk@4834 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_result_set.php')
-rw-r--r--roundcubemail/program/include/rcube_result_set.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/roundcubemail/program/include/rcube_result_set.php b/roundcubemail/program/include/rcube_result_set.php
index 1739cacff..10361609f 100644
--- a/roundcubemail/program/include/rcube_result_set.php
+++ b/roundcubemail/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;
}
-
+
}