From 9ac597fb5a576d07373669ab2033ff6466736815 Mon Sep 17 00:00:00 2001 From: Ard Biesheuvel Date: Tue, 2 Sep 2003 11:40:36 +0000 Subject: [PATCH] New functions added in PHP5 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@139459 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../ibase/functions/ibase-affected-rows.xml | 49 ++++++++++++ reference/ibase/functions/ibase-drop-db.xml | 48 ++++++++++++ reference/ibase/functions/ibase-errcode.xml | 46 +++++++++++ .../functions/ibase-free-event-handler.xml | 48 ++++++++++++ .../ibase/functions/ibase-name-result.xml | 65 ++++++++++++++++ .../ibase/functions/ibase-num-params.xml | 48 ++++++++++++ .../ibase/functions/ibase-param-info.xml | 49 ++++++++++++ .../functions/ibase-set-event-handler.xml | 76 +++++++++++++++++++ .../ibase/functions/ibase-wait-event.xml | 51 +++++++++++++ 9 files changed, 480 insertions(+) create mode 100644 reference/ibase/functions/ibase-affected-rows.xml create mode 100644 reference/ibase/functions/ibase-drop-db.xml create mode 100644 reference/ibase/functions/ibase-errcode.xml create mode 100644 reference/ibase/functions/ibase-free-event-handler.xml create mode 100644 reference/ibase/functions/ibase-name-result.xml create mode 100644 reference/ibase/functions/ibase-num-params.xml create mode 100644 reference/ibase/functions/ibase-param-info.xml create mode 100644 reference/ibase/functions/ibase-set-event-handler.xml create mode 100644 reference/ibase/functions/ibase-wait-event.xml diff --git a/reference/ibase/functions/ibase-affected-rows.xml b/reference/ibase/functions/ibase-affected-rows.xml new file mode 100644 index 0000000000..185c727292 --- /dev/null +++ b/reference/ibase/functions/ibase-affected-rows.xml @@ -0,0 +1,49 @@ + + + + + ibase_affected_rows + + Return the number of rows that were affected by the previous query + + + + Description + + intibase_affected_rows + resourcelink_identifier + + + This function returns the number of rows that were affected by the previous query that was + executed from within the transaction context specified by link_identifier. + If link_identifier is a connection resource, its default transaction + is used. + + + See also + ibase_query and + ibase_execute. + + + + + diff --git a/reference/ibase/functions/ibase-drop-db.xml b/reference/ibase/functions/ibase-drop-db.xml new file mode 100644 index 0000000000..60abde35f8 --- /dev/null +++ b/reference/ibase/functions/ibase-drop-db.xml @@ -0,0 +1,48 @@ + + + + + ibase_drop_db + + Drops a database + + + + Description + + boolibase_drop_db + resourceconnection + + + This functions drops a database that was opened by either ibase_connect + or ibase_pconnect. The database is closed and deleted from the server. + &return.success; + + + See also + ibase_connect and + ibase_pconnect. + + + + + diff --git a/reference/ibase/functions/ibase-errcode.xml b/reference/ibase/functions/ibase-errcode.xml new file mode 100644 index 0000000000..345a45e026 --- /dev/null +++ b/reference/ibase/functions/ibase-errcode.xml @@ -0,0 +1,46 @@ + + + + + ibase_errcode + + Return an error code + + + + Description + + intibase_errcode + + + + Returns the error code that resulted from the most recent InterBase function + call. Returns &false; if no error occurred. + + + See also + ibase_errmsg. + + + + + diff --git a/reference/ibase/functions/ibase-free-event-handler.xml b/reference/ibase/functions/ibase-free-event-handler.xml new file mode 100644 index 0000000000..1da2f20b7f --- /dev/null +++ b/reference/ibase/functions/ibase-free-event-handler.xml @@ -0,0 +1,48 @@ + + + + + ibase_free_event_handler + + Cancels a registered event handler + + + + Description + + boolibase_free_event_handler + resourceevent + + + This function causes the registered event handler specified by + event to be cancelled. The callback function + will no longer be called for the events it was registered to handle. + &return.success; + + + See also + ibase_set_event_handler. + + + + + diff --git a/reference/ibase/functions/ibase-name-result.xml b/reference/ibase/functions/ibase-name-result.xml new file mode 100644 index 0000000000..66338785ed --- /dev/null +++ b/reference/ibase/functions/ibase-name-result.xml @@ -0,0 +1,65 @@ + + + + + ibase_name_result + + Assigns a name to a result set + + + + Description + + boolibase_name_result + resourceresult + stringname + + + This function assigns a name to a result set. This name can be used later in + UPDATE|DELETE ... WHERE CURRENT OF name statements. + &return.success; + + + +]]> + + + + + See also + ibase_prepare and + ibase_execute. + + + + + diff --git a/reference/ibase/functions/ibase-num-params.xml b/reference/ibase/functions/ibase-num-params.xml new file mode 100644 index 0000000000..6ed1ae073c --- /dev/null +++ b/reference/ibase/functions/ibase-num-params.xml @@ -0,0 +1,48 @@ + + + + + ibase_num_params + + Return the number of parameters in a prepared query + + + + Description + + intibase_num_params + resourcequery + + + This function returns the number of parameters in the prepared query specified + by query. This is the number of binding arguments that + must be present when calling ibase_execute. + + + See also + ibase_prepare and + ibase_param_info. + + + + + diff --git a/reference/ibase/functions/ibase-param-info.xml b/reference/ibase/functions/ibase-param-info.xml new file mode 100644 index 0000000000..e74a85b4ae --- /dev/null +++ b/reference/ibase/functions/ibase-param-info.xml @@ -0,0 +1,49 @@ + + + + + ibase_param_info + + Return information about a parameter in a prepared query + + + + Description + + arrayibase_param_info + resourcequery + intparam_number + + + Returns an array with information about a parameter after a + query has been prepared. The array contains the type and the length + of the parameter. + + + See also + ibase_field_info and + ibase_num_params. + + + + + diff --git a/reference/ibase/functions/ibase-set-event-handler.xml b/reference/ibase/functions/ibase-set-event-handler.xml new file mode 100644 index 0000000000..f9f7752004 --- /dev/null +++ b/reference/ibase/functions/ibase-set-event-handler.xml @@ -0,0 +1,76 @@ + + + + + ibase_set_event_handler + + Register a callback function to be called when event are posted + + + + Description + + resourceibase_set_event_handler + resourceconnection + callbackevent_handler + stringevent_name1 + stringevent_name2 + string... + + + This function registers a PHP user function as event handler for the specified + events. The callback is called with the event name and the link resource as arguments + whenever one of the specified events is posted by the database. The callback must + return false if the event handler should be canceled. Any other return value is ignored. + + + + + + + + The return value is an event resource. This resource can be used to free the event handler + using ibase_free_event_handler. + + + See also + ibase_free_event_handler and + ibase_wait_event. + + + + + diff --git a/reference/ibase/functions/ibase-wait-event.xml b/reference/ibase/functions/ibase-wait-event.xml new file mode 100644 index 0000000000..9ae33d19e4 --- /dev/null +++ b/reference/ibase/functions/ibase-wait-event.xml @@ -0,0 +1,51 @@ + + + + + ibase_wait_event + + Wait for an event to be posted by the database + + + + Description + + stringibase_wait_event + resourceconnection + stringevent_name1 + stringevent_name2 + string... + + + This functions suspends execution of the script until one of the specified events + is posted by the database. The name of the event that was posted is returned. This + function accepts up to 15 event arguments. + + + See also + ibase_set_event_handler and + ibase_free_event_handler. + + + + +