From 69a43cb73bf30e33594b9d98b886c1d392d98d8f Mon Sep 17 00:00:00 2001 From: Ard Biesheuvel Date: Mon, 1 Sep 2003 23:49:57 +0000 Subject: [PATCH] Fixed prototypes and added missing descriptions git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@139415 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/ibase/functions/ibase-blob-add.xml | 10 +++++----- .../ibase/functions/ibase-blob-cancel.xml | 14 ++++++++++--- .../ibase/functions/ibase-blob-close.xml | 18 +++++++++++++---- .../ibase/functions/ibase-blob-create.xml | 10 +++++----- reference/ibase/functions/ibase-blob-echo.xml | 14 ++++++++++--- reference/ibase/functions/ibase-blob-get.xml | 20 ++++++++++++++++--- .../ibase/functions/ibase-blob-import.xml | 15 +++++++++++--- reference/ibase/functions/ibase-blob-info.xml | 10 ++++++---- reference/ibase/functions/ibase-blob-open.xml | 14 ++++++++++--- 9 files changed, 92 insertions(+), 33 deletions(-) diff --git a/reference/ibase/functions/ibase-blob-add.xml b/reference/ibase/functions/ibase-blob-add.xml index 6fcbf58b52..ceea8869fd 100644 --- a/reference/ibase/functions/ibase-blob-add.xml +++ b/reference/ibase/functions/ibase-blob-add.xml @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ Description boolibase_blob_add - intblob_id + resourceblob_handle stringdata @@ -22,10 +22,10 @@ See also - ibase_blob_create, ibase_blob_cancel, - ibase_blob_close and - ibase_import. + ibase_blob_close, + ibase_blob_create and + ibase_blob_import. diff --git a/reference/ibase/functions/ibase-blob-cancel.xml b/reference/ibase/functions/ibase-blob-cancel.xml index 0be6f35701..30a71f7e0c 100644 --- a/reference/ibase/functions/ibase-blob-cancel.xml +++ b/reference/ibase/functions/ibase-blob-cancel.xml @@ -1,5 +1,5 @@ - + @@ -12,10 +12,18 @@ Description boolibase_blob_cancel - intblob_id + resourceblob_handle - &warn.undocumented.func; + This function will discard a BLOB created by ibase_create_blob + if it has not yet been closed by ibase_blob_close. + &return.success; + + + See also + ibase_blob_close, + ibase_blob_create and + ibase_blob_import. diff --git a/reference/ibase/functions/ibase-blob-close.xml b/reference/ibase/functions/ibase-blob-close.xml index 16fef42314..1c3d83a494 100644 --- a/reference/ibase/functions/ibase-blob-close.xml +++ b/reference/ibase/functions/ibase-blob-close.xml @@ -1,5 +1,5 @@ - + @@ -11,11 +11,21 @@ Description - boolibase_blob_close - intblob_id + mixedibase_blob_close + resourceblob_handle - &warn.undocumented.func; + This function closes a BLOB that has either been opened for reading by + ibase_open_blob or has been opened for writing by + ibase_create_blob. If the BLOB was being read, this function + returns &true; on success, if the BLOB was being written to, this function + returns a string containing the BLOB id that has been assigned to it by the database. + On failure, this function returns &false;. + + + See also + ibase_blob_cancel and + ibase_blob_open. diff --git a/reference/ibase/functions/ibase-blob-create.xml b/reference/ibase/functions/ibase-blob-create.xml index 8fb7def6c6..cb5340dde6 100644 --- a/reference/ibase/functions/ibase-blob-create.xml +++ b/reference/ibase/functions/ibase-blob-create.xml @@ -1,22 +1,22 @@ - + ibase_blob_create - Creates a new blob for adding data + Create a new blob for adding data Description - intibase_blob_create + resourceibase_blob_create resourcelink_identifier - ibase_blob_create creates a new blob for - filling with data. It returns the blob id for later use with + ibase_blob_create creates a new BLOB for + filling with data. It returns a BLOB handle for later use with ibase_blob_add or &false; on failure. diff --git a/reference/ibase/functions/ibase-blob-echo.xml b/reference/ibase/functions/ibase-blob-echo.xml index 822f3c34e2..147ef5e384 100644 --- a/reference/ibase/functions/ibase-blob-echo.xml +++ b/reference/ibase/functions/ibase-blob-echo.xml @@ -1,5 +1,5 @@ - + @@ -12,10 +12,18 @@ Description boolibase_blob_echo - stringblob_id_str + stringblob_id - &warn.undocumented.func; + This function opens a BLOB for reading and sends its contents directly + to standard output (the browser, in most cases). + &return.success; + + + See also + ibase_blob_open, + ibase_blob_close and + ibase_blob_get. diff --git a/reference/ibase/functions/ibase-blob-get.xml b/reference/ibase/functions/ibase-blob-get.xml index 200f91b867..df19f2df82 100644 --- a/reference/ibase/functions/ibase-blob-get.xml +++ b/reference/ibase/functions/ibase-blob-get.xml @@ -1,5 +1,5 @@ - + @@ -12,11 +12,25 @@ Description stringibase_blob_get - intblob_id + resourceblob_handle intlen - &warn.undocumented.func; + This function returns at most len bytes from a BLOB + that has been opened for reading by ibase_blob_open. + Returns &false; on failure. + + + + It is not possible to read from a BLOB that has been opened for writing + by ibase_blob_create. + + + + See also + ibase_blob_open, + ibase_blob_close and + ibase_blob_echo. diff --git a/reference/ibase/functions/ibase-blob-import.xml b/reference/ibase/functions/ibase-blob-import.xml index e05d4ab1a1..08f228193d 100644 --- a/reference/ibase/functions/ibase-blob-import.xml +++ b/reference/ibase/functions/ibase-blob-import.xml @@ -1,5 +1,5 @@ - + @@ -13,10 +13,19 @@ stringibase_blob_import resourcelink_identifier - intfile_id + resourcefile_handle - &warn.undocumented.func; + This function creates a BLOB, reads an entire file into it, closes it and + returns the assigned BLOB id. The file handle is a handle returned by + fopen. Returns &false; on failure. + + + See also + ibase_blob_add, + ibase_blob_cancel, + ibase_blob_close and + ibase_blob_create. diff --git a/reference/ibase/functions/ibase-blob-info.xml b/reference/ibase/functions/ibase-blob-info.xml index ee9cbbff89..fa5bd13fa2 100644 --- a/reference/ibase/functions/ibase-blob-info.xml +++ b/reference/ibase/functions/ibase-blob-info.xml @@ -1,5 +1,5 @@ - + @@ -11,11 +11,13 @@ Description - objectibase_blob_info - stringblob_id_str + arrayibase_blob_info + stringblob_id - &warn.undocumented.func; + Returns an array containing information about a BLOB. The information returned + consists of the length of the BLOB, the number of segments it contains, the size + of the largest segment, and whether it is a stream BLOB or a segmented BLOB. diff --git a/reference/ibase/functions/ibase-blob-open.xml b/reference/ibase/functions/ibase-blob-open.xml index 724698ca25..7d008e1c0c 100644 --- a/reference/ibase/functions/ibase-blob-open.xml +++ b/reference/ibase/functions/ibase-blob-open.xml @@ -1,5 +1,5 @@ - + @@ -11,11 +11,19 @@ Description - intibase_blob_open + resourceibase_blob_open stringblob_id - &warn.undocumented.func; + ibase_blob_open opens an existing BLOB for + reading. It returns a BLOB handle for later use with + ibase_blob_get or &false; on failure. + + + See also + ibase_blob_close, + ibase_blob_echo and + ibase_blob_get.