From 7b9d47296e6e68bfda0a9603d155de4fb7d0c099 Mon Sep 17 00:00:00 2001 From: admin Date: Thu, 5 Oct 2006 04:46:47 +0000 Subject: --- system/database/DB_result.php | 46 ++++++++++++++++++++++++++++++++++--------- 1 file changed, 37 insertions(+), 9 deletions(-) (limited to 'system/database') diff --git a/system/database/DB_result.php b/system/database/DB_result.php index 766a2e380..b3dbc2149 100644 --- a/system/database/DB_result.php +++ b/system/database/DB_result.php @@ -253,6 +253,11 @@ class CI_DB_result { /** * Number of rows in the result set * + * Note: This function is normally overloaded by the identically named + * method in the platform-specific driver -- except when query caching + * is used. When caching is enabled we do not load the other driver, + * so this function is here primarily to prevent undefined function errors. + * * @access public * @return integer */ @@ -266,6 +271,11 @@ class CI_DB_result { /** * Number of fields in the result set * + * Note: This function is normally overloaded by the identically named + * method in the platform-specific driver -- except when query caching + * is used. When caching is enabled we do not load the other driver, + * so this function is here primarily to prevent undefined function errors. + * * @access public * @return integer */ @@ -279,7 +289,10 @@ class CI_DB_result { /** * Fetch Field Names * - * Generates an array of column names + * Note: This function is normally overloaded by the identically named + * method in the platform-specific driver -- except when query caching + * is used. When caching is enabled we do not load the other driver, + * so this function is here primarily to prevent undefined function errors. * * @access public * @return array @@ -294,7 +307,10 @@ class CI_DB_result { /** * Field data * - * Generates an array of objects containing field meta-data + * Note: This function is normally overloaded by the identically named + * method in the platform-specific driver -- except when query caching + * is used. When caching is enabled we do not load the other driver, + * so this function is here primarily to prevent undefined function errors. * * @access public * @return array @@ -316,6 +332,11 @@ class CI_DB_result { /** * Free the result * + * Note: This function is normally overloaded by the identically named + * method in the platform-specific driver -- except when query caching + * is used. When caching is enabled we do not load the other driver, + * so this function is here primarily to prevent undefined function errors. + * * @return null */ function free_result() @@ -328,14 +349,15 @@ class CI_DB_result { /** * Data Seek * - * Moves the internal pointer to the desired offset. We call - * this internally before fetching results to make sure the - * result set starts at zero + * Note: This function is normally overloaded by the identically named + * method in the platform-specific driver -- except when query caching + * is used. When caching is enabled we do not load the other driver, + * so this function is here primarily to prevent undefined function errors. * * @access private * @return array */ - function _data_seek($n = 0) + function _data_seek() { return TRUE; } @@ -345,7 +367,10 @@ class CI_DB_result { /** * Result - associative array * - * Returns the result set as an array + * Note: This function is normally overloaded by the identically named + * method in the platform-specific driver -- except when query caching + * is used. When caching is enabled we do not load the other driver, + * so this function is here primarily to prevent undefined function errors. * * @access private * @return array @@ -360,7 +385,10 @@ class CI_DB_result { /** * Result - object * - * Returns the result set as an object + * Note: This function is normally overloaded by the identically named + * method in the platform-specific driver -- except when query caching + * is used. When caching is enabled we do not load the other driver, + * so this function is here primarily to prevent undefined function errors. * * @access private * @return object @@ -371,5 +399,5 @@ class CI_DB_result { } } - +// END DB_result class ?> \ No newline at end of file -- cgit v1.2.3-24-g4f1b