4 +-----------------------------------------------------------------------+
5 | program/include/rcube_result_set.php |
7 | This file is part of the RoundCube Webmail client |
8 | Copyright (C) 2006-2009, RoundCube Dev. - Switzerland |
9 | Licensed under the GNU GPL |
12 | Class representing an address directory result set |
14 +-----------------------------------------------------------------------+
15 | Author: Thomas Bruederli <roundcube@gmail.com> |
16 +-----------------------------------------------------------------------+
18 $Id: rcube_result_set.php 328 2006-08-30 17:41:21Z thomasb $
24 * RoundCube result set class.
25 * Representing an address directory result set.
27 * @package Addressbook
29 class rcube_result_set
34 var $records = array();
36 function __construct($c=0, $f=0)
38 $this->count = (int)$c;
39 $this->first = (int)$f;
44 $this->records[] = $rec;
49 return $this->records[$this->current++];
55 return $this->records[$this->current++];
61 return $this->iterate();