From 7280a2301a3d3dd251d8302c3f7999fa09780d42 Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 24 Nov 2006 19:15:26 +0000 Subject: bug fixes of data layer. --- framework/Data/TDbDataReader.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'framework/Data/TDbDataReader.php') diff --git a/framework/Data/TDbDataReader.php b/framework/Data/TDbDataReader.php index 32b86c1d..ad3132b0 100644 --- a/framework/Data/TDbDataReader.php +++ b/framework/Data/TDbDataReader.php @@ -18,14 +18,16 @@ * To read the current row of data, call {@link read}. The method {@link readAll} * returns all the rows in a single array. * - * TDbDataReader implements Iterator interface and thus can be used in foreach like the following: + * One can also retrieve the rows of data in TDbDataReader by using foreach: * * foreach($reader as $row) * // $row represents a row of data * + * Since TDbDataReader is a forward-only stream, you can only traverse it once. * * It is possible to use a specific mode of data fetching by setting - * {@link setFetchMode FetchMode}. See {@link + * {@link setFetchMode FetchMode}. See {@link http://www.php.net/manual/en/function.pdostatement-setfetchmode.php} + * for more details. * * @author Qiang Xue * @version $Id $ -- cgit v1.2.3