alecpl
2011-09-16 4daaf297478aa66eb359e2989d729d98c3f45793
program/include/rcube_result_set.php
@@ -4,8 +4,8 @@
 +-----------------------------------------------------------------------+
 | program/include/rcube_result_set.php                                  |
 |                                                                       |
 | This file is part of the RoundCube Webmail client                     |
 | Copyright (C) 2006-2010, RoundCube Dev. - Switzerland                 |
 | This file is part of the Roundcube Webmail client                     |
 | Copyright (C) 2006-2010, The Roundcube Dev Team                       |
 | Licensed under the GNU GPL                                            |
 |                                                                       |
 | PURPOSE:                                                              |
@@ -21,7 +21,7 @@
/**
 * RoundCube result set class.
 * Roundcube result set class.
 * Representing an address directory result set.
 *
 * @package Addressbook
@@ -44,27 +44,27 @@
    {
        $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;
    }
}