From cf87a11d25028b3969fb1fd2c607faed69a0cb4f Mon Sep 17 00:00:00 2001 From: Ard Biesheuvel Date: Tue, 2 Sep 2003 00:05:00 +0000 Subject: [PATCH] Explain fetch_flag git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@139419 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/ibase/functions/ibase-fetch-assoc.xml | 15 ++++++++++----- reference/ibase/functions/ibase-fetch-object.xml | 10 ++++++++-- reference/ibase/functions/ibase-fetch-row.xml | 14 ++++++++++---- 3 files changed, 28 insertions(+), 11 deletions(-) diff --git a/reference/ibase/functions/ibase-fetch-assoc.xml b/reference/ibase/functions/ibase-fetch-assoc.xml index 2d9047d4f1..d67055e480 100644 --- a/reference/ibase/functions/ibase-fetch-assoc.xml +++ b/reference/ibase/functions/ibase-fetch-assoc.xml @@ -1,5 +1,5 @@ - + ibase_fetch_assoc @@ -12,11 +12,11 @@ arrayibase_fetch_assoc resourceresult - intblob_flag + intfetch_flag ibase_fetch_assoc returns an associative array - that corresponds to the fetched row. Subsequent calls would return + that corresponds to the fetched row. Subsequent calls will return the next row in the result set, or &false; if there are no more rows. @@ -28,10 +28,15 @@ the result with numeric indices by using ibase_fetch_row or use alias names in your query. + + fetch_flag is a combination of the constants IBASE_TEXT and IBASE_UNIXTIME + ORed together. Passing IBASE_TEXT will cause this function to return BLOB contents + instead of BLOB ids. Passing IBASE_UNIXTIME will cause this function to return + date/time values as UNIX timestamps instead of as formatted strings. + See also - ibase_query, - ibase_fetch_row, and + ibase_fetch_row and ibase_fetch_object. diff --git a/reference/ibase/functions/ibase-fetch-object.xml b/reference/ibase/functions/ibase-fetch-object.xml index d905b3fd27..d92ede536f 100644 --- a/reference/ibase/functions/ibase-fetch-object.xml +++ b/reference/ibase/functions/ibase-fetch-object.xml @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ objectibase_fetch_object resourceresult_id - intblob_flag + intfetch_flag Fetches a row as a pseudo-object from a @@ -39,6 +39,12 @@ return the next row in the result set, or &false; if there are no more rows. + + fetch_flag is a combination of the constants IBASE_TEXT and IBASE_UNIXTIME + ORed together. Passing IBASE_TEXT will cause this function to return BLOB contents + instead of BLOB ids. Passing IBASE_UNIXTIME will cause this function to return + date/time values as UNIX timestamps instead of as formatted strings. + See also ibase_fetch_row and diff --git a/reference/ibase/functions/ibase-fetch-row.xml b/reference/ibase/functions/ibase-fetch-row.xml index 893568749e..e12038d44b 100644 --- a/reference/ibase/functions/ibase-fetch-row.xml +++ b/reference/ibase/functions/ibase-fetch-row.xml @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ arrayibase_fetch_row resourceresult_identifier - intblob_flag + intfetch_flag Returns an array that corresponds to the fetched row, or &false; @@ -25,14 +25,20 @@ starting at offset 0. - Subsequent call to ibase_fetch_row would + Subsequent calls to ibase_fetch_row will return the next row in the result set, or &false; if there are no more rows. + + fetch_flag is a combination of the constants IBASE_TEXT and IBASE_UNIXTIME + ORed together. Passing IBASE_TEXT will cause this function to return BLOB contents + instead of BLOB ids. Passing IBASE_UNIXTIME will cause this function to return + date/time values as UNIX timestamps instead of as formatted strings. + See also ibase_fetch_assoc and - ibase_fetch_row. + ibase_fetch_object.