From 6b5695bafe5a0a5921dcae97f40c3b5fcb2ff21e Mon Sep 17 00:00:00 2001 From: Yasuo Ohgaki Date: Thu, 25 Apr 2002 00:41:40 +0000 Subject: [PATCH] Removed descrption for result_type. It's just does not make send and does not work. (e.g. number is not a valid property name) row can be optional from 4.2.0. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@79841 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/pgsql/functions/pg-fetch-object.xml | 22 ++++++------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/reference/pgsql/functions/pg-fetch-object.xml b/reference/pgsql/functions/pg-fetch-object.xml index 4285477a9d..459f4f5d45 100644 --- a/reference/pgsql/functions/pg-fetch-object.xml +++ b/reference/pgsql/functions/pg-fetch-object.xml @@ -1,5 +1,5 @@ - + @@ -12,7 +12,6 @@ objectpg_fetch_object resourceresult introw - intresult_type pg_fetch_object returns an object with @@ -27,21 +26,14 @@ their offsets (numbers are illegal property names). - result_type is optional parameter controls - how return value is initialized. - result_type is a constant and can take the - following values: PGSQL_ASSOC, PGSQL_NUM, and PGSQL_BOTH. - pg_fetch_array returns associative array - that has field name as key for PGSQL_ASSOC. field index as key - with PGSQL_NUM and both field name/index as key with - PGSQL_BOTH. Default is PGSQL_BOTH. + row is row (record) number to be + retrieved. First row is 0. - - - result_type was added in PHP 4.0. - - + From PHP 4.2.0, row can be optional. + Calling pg_fetch_result will incremented + internal row counter, that is associated with the result, + counter by 1. Speed-wise, the function is identical to