alecpl
2010-04-23 2eb7943f2aeaec8efc74b16b7bedb56da9913abf
program/include/rcube_result_set.php
@@ -5,7 +5,7 @@
 | program/include/rcube_result_set.php                                  |
 |                                                                       |
 | This file is part of the RoundCube Webmail client                     |
 | Copyright (C) 2006-2009, RoundCube Dev. - Switzerland                 |
 | Copyright (C) 2006-2010, RoundCube Dev. - Switzerland                 |
 | Licensed under the GNU GPL                                            |
 |                                                                       |
 | PURPOSE:                                                              |
@@ -33,6 +33,7 @@
  var $current = 0;
  var $records = array();
  
  function __construct($c=0, $f=0)
  {
    $this->count = (int)$c;
@@ -55,7 +56,7 @@
    return $this->records[$this->current++];
  }
  
  // alias
    // alias for iterate()
  function next()
  {
    return $this->iterate();