didou Sun Jul 27 18:21:30 2003 EDT
Modified files:
/phpdoc/en/reference/ibase constants.xml
/phpdoc/en/reference/ibase/functions ibase-add-user.xml
ibase-blob-add.xml
ibase-blob-cancel.xml
ibase-blob-close.xml
ibase-blob-create.xml
ibase-blob-echo.xml
ibase-blob-import.xml
ibase-close.xml
ibase-commit.xml
ibase-connect.xml
ibase-delete-user.xml
ibase-execute.xml
ibase-fetch-object.xml
ibase-fetch-row.xml
ibase-field-info.xml
ibase-free-query.xml
ibase-free-result.xml
ibase-modify-user.xml
ibase-num-fields.xml
ibase-pconnect.xml
ibase-prepare.xml
ibase-query.xml
ibase-rollback.xml
ibase-trans.xml
Log:
proto update, adding users notes, see also, entities
Index: phpdoc/en/reference/ibase/constants.xml
diff -u phpdoc/en/reference/ibase/constants.xml:1.2
phpdoc/en/reference/ibase/constants.xml:1.3
--- phpdoc/en/reference/ibase/constants.xml:1.2 Wed May 28 19:03:07 2003
+++ phpdoc/en/reference/ibase/constants.xml Sun Jul 27 18:21:29 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<section id="ibase.constants">
&reftitle.constants;
&extension.constants;
@@ -39,12 +39,23 @@
</varlistentry>
<varlistentry>
<term>
+ <constant>IBASE_WRITE</constant>
+ (<type>integer</type>)
+ </term>
+ <listitem>
+ <simpara>
+ Access mode
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
<constant>IBASE_READ</constant>
(<type>integer</type>)
</term>
<listitem>
<simpara>
-
+ Access mode
</simpara>
</listitem>
</varlistentry>
@@ -55,7 +66,7 @@
</term>
<listitem>
<simpara>
-
+ Isolation level
</simpara>
</listitem>
</varlistentry>
@@ -66,18 +77,62 @@
</term>
<listitem>
<simpara>
+ Isolation level
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <constant>IBASE_CONCURRENCY</constant>
+ (<type>integer</type>)
+ </term>
+ <listitem>
+ <simpara>
+ Isolation level (default)
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <constant>IBASE_REC_VERSION</constant>
+ (<type>integer</type>)
+ </term>
+ <listitem>
+ <simpara>
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
- <constant>IBASE_NOWAIT</constant>
+ <constant>IBASE_REC_NO_VERSION</constant>
(<type>integer</type>)
</term>
<listitem>
<simpara>
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <constant>IBASE_NOWAIT</constant>
+ (<type>integer</type>)
+ </term>
+ <listitem>
+ <simpara>
+ Lock resolution
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <constant>IBASE_WAIT</constant>
+ (<type>integer</type>)
+ </term>
+ <listitem>
+ <simpara>
+ Lock resolution (default)
</simpara>
</listitem>
</varlistentry>
Index: phpdoc/en/reference/ibase/functions/ibase-add-user.xml
diff -u phpdoc/en/reference/ibase/functions/ibase-add-user.xml:1.1
phpdoc/en/reference/ibase/functions/ibase-add-user.xml:1.2
--- phpdoc/en/reference/ibase/functions/ibase-add-user.xml:1.1 Sat May 10 18:54:24
2003
+++ phpdoc/en/reference/ibase/functions/ibase-add-user.xml Sun Jul 27 18:21:30
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="function.ibase-add-user">
<refnamediv>
<refname>ibase_add_user</refname>
@@ -10,7 +10,7 @@
<refsect1>
<title>Description</title>
<methodsynopsis>
- <type>int</type><methodname>ibase_add_user</methodname>
+ <type>bool</type><methodname>ibase_add_user</methodname>
<methodparam><type>string</type><parameter>server</parameter></methodparam>
<methodparam><type>string</type><parameter>dba_user_name</parameter></methodparam>
<methodparam><type>string</type><parameter>dba_user_password</parameter></methodparam>
@@ -23,6 +23,11 @@
&warn.undocumented.func;
+ <para>
+ See also
+ <function>ibase_modify_user</function> and
+ <function>ibase_delete_user</function>.
+ </para>
</refsect1>
</refentry>
Index: phpdoc/en/reference/ibase/functions/ibase-blob-add.xml
diff -u phpdoc/en/reference/ibase/functions/ibase-blob-add.xml:1.2
phpdoc/en/reference/ibase/functions/ibase-blob-add.xml:1.3
--- phpdoc/en/reference/ibase/functions/ibase-blob-add.xml:1.2 Wed Apr 17 02:38:47
2002
+++ phpdoc/en/reference/ibase/functions/ibase-blob-add.xml Sun Jul 27 18:21:30
2003
@@ -1,22 +1,31 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/ibase.xml, last change in rev 1.39 -->
<refentry id='function.ibase-blob-add'>
<refnamediv>
<refname>ibase_blob_add</refname>
<refpurpose>
- Add data into created blob
+ Add data into a newly created blob
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
- <type>int</type><methodname>ibase_blob_add</methodname>
+ <type>bool</type><methodname>ibase_blob_add</methodname>
<methodparam><type>int</type><parameter>blob_id</parameter></methodparam>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
</methodsynopsis>
<para>
- &warn.undocumented.func;
+ <function>ibase_blob_add</function> adds data into a blob
+ created with <function>ibase_blob_create</function>.
+ &return.success;
+ </para>
+ <para>
+ See also
+ <function>ibase_blob_create</function>,
+ <function>ibase_blob_cancel</function>,
+ <function>ibase_blob_close</function> and
+ <function>ibase_import</function>.
</para>
</refsect1>
</refentry>
Index: phpdoc/en/reference/ibase/functions/ibase-blob-cancel.xml
diff -u phpdoc/en/reference/ibase/functions/ibase-blob-cancel.xml:1.2
phpdoc/en/reference/ibase/functions/ibase-blob-cancel.xml:1.3
--- phpdoc/en/reference/ibase/functions/ibase-blob-cancel.xml:1.2 Wed Apr 17
02:38:48 2002
+++ phpdoc/en/reference/ibase/functions/ibase-blob-cancel.xml Sun Jul 27 18:21:30
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/ibase.xml, last change in rev 1.39 -->
<refentry id='function.ibase-blob-cancel'>
<refnamediv>
@@ -11,7 +11,7 @@
<refsect1>
<title>Description</title>
<methodsynopsis>
- <type>int</type><methodname>ibase_blob_cancel</methodname>
+ <type>bool</type><methodname>ibase_blob_cancel</methodname>
<methodparam><type>int</type><parameter>blob_id</parameter></methodparam>
</methodsynopsis>
<para>
Index: phpdoc/en/reference/ibase/functions/ibase-blob-close.xml
diff -u phpdoc/en/reference/ibase/functions/ibase-blob-close.xml:1.2
phpdoc/en/reference/ibase/functions/ibase-blob-close.xml:1.3
--- phpdoc/en/reference/ibase/functions/ibase-blob-close.xml:1.2 Wed Apr 17
02:38:48 2002
+++ phpdoc/en/reference/ibase/functions/ibase-blob-close.xml Sun Jul 27 18:21:30
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/ibase.xml, last change in rev 1.39 -->
<refentry id='function.ibase-blob-close'>
<refnamediv>
@@ -11,7 +11,7 @@
<refsect1>
<title>Description</title>
<methodsynopsis>
- <type>int</type><methodname>ibase_blob_close</methodname>
+ <type>bool</type><methodname>ibase_blob_close</methodname>
<methodparam><type>int</type><parameter>blob_id</parameter></methodparam>
</methodsynopsis>
<para>
Index: phpdoc/en/reference/ibase/functions/ibase-blob-create.xml
diff -u phpdoc/en/reference/ibase/functions/ibase-blob-create.xml:1.2
phpdoc/en/reference/ibase/functions/ibase-blob-create.xml:1.3
--- phpdoc/en/reference/ibase/functions/ibase-blob-create.xml:1.2 Wed Apr 17
02:38:49 2002
+++ phpdoc/en/reference/ibase/functions/ibase-blob-create.xml Sun Jul 27 18:21:30
2003
@@ -1,21 +1,30 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/ibase.xml, last change in rev 1.39 -->
<refentry id='function.ibase-blob-create'>
<refnamediv>
<refname>ibase_blob_create</refname>
<refpurpose>
- Create blob for adding data
+ Creates a new blob for adding data
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>ibase_blob_create</methodname>
- <methodparam
choice="opt"><type>int</type><parameter>link_identifier</parameter></methodparam>
+ <methodparam
choice="opt"><type>resource</type><parameter>link_identifier</parameter></methodparam>
</methodsynopsis>
<para>
- &warn.undocumented.func;
+ <function>ibase_blob_create</function> creates a new blob for
+ filling with data. It returns the blob id for later use with
+ <function>ibase_blob_add</function> or &false; on failure.
+ </para>
+ <para>
+ See also
+ <function>ibase_blob_add</function>,
+ <function>ibase_blob_cancel</function>,
+ <function>ibase_blob_close</function> and
+ <function>ibase_blob_import</function>.
</para>
</refsect1>
</refentry>
Index: phpdoc/en/reference/ibase/functions/ibase-blob-echo.xml
diff -u phpdoc/en/reference/ibase/functions/ibase-blob-echo.xml:1.2
phpdoc/en/reference/ibase/functions/ibase-blob-echo.xml:1.3
--- phpdoc/en/reference/ibase/functions/ibase-blob-echo.xml:1.2 Wed Apr 17 02:38:49
2002
+++ phpdoc/en/reference/ibase/functions/ibase-blob-echo.xml Sun Jul 27 18:21:30
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/ibase.xml, last change in rev 1.39 -->
<refentry id='function.ibase-blob-echo'>
<refnamediv>
@@ -11,7 +11,7 @@
<refsect1>
<title>Description</title>
<methodsynopsis>
- <type>int</type><methodname>ibase_blob_echo</methodname>
+ <type>bool</type><methodname>ibase_blob_echo</methodname>
<methodparam><type>string</type><parameter>blob_id_str</parameter></methodparam>
</methodsynopsis>
<para>
Index: phpdoc/en/reference/ibase/functions/ibase-blob-import.xml
diff -u phpdoc/en/reference/ibase/functions/ibase-blob-import.xml:1.2
phpdoc/en/reference/ibase/functions/ibase-blob-import.xml:1.3
--- phpdoc/en/reference/ibase/functions/ibase-blob-import.xml:1.2 Wed Apr 17
02:38:49 2002
+++ phpdoc/en/reference/ibase/functions/ibase-blob-import.xml Sun Jul 27 18:21:30
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/ibase.xml, last change in rev 1.39 -->
<refentry id='function.ibase-blob-import'>
<refnamediv>
@@ -12,7 +12,7 @@
<title>Description</title>
<methodsynopsis>
<type>string</type><methodname>ibase_blob_import</methodname>
- <methodparam
choice="opt"><type>int</type><parameter>link_identifier</parameter></methodparam>
+ <methodparam
choice="opt"><type>resource</type><parameter>link_identifier</parameter></methodparam>
<methodparam><type>int</type><parameter>file_id</parameter></methodparam>
</methodsynopsis>
<para>
Index: phpdoc/en/reference/ibase/functions/ibase-close.xml
diff -u phpdoc/en/reference/ibase/functions/ibase-close.xml:1.2
phpdoc/en/reference/ibase/functions/ibase-close.xml:1.3
--- phpdoc/en/reference/ibase/functions/ibase-close.xml:1.2 Wed Apr 17 02:38:50
2002
+++ phpdoc/en/reference/ibase/functions/ibase-close.xml Sun Jul 27 18:21:30 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/ibase.xml, last change in rev 1.2 -->
<refentry id="function.ibase-close">
<refnamediv>
@@ -11,15 +11,20 @@
<refsect1>
<title>Description</title>
<methodsynopsis>
- <type>int</type><methodname>ibase_close</methodname>
- <methodparam
choice="opt"><type>int</type><parameter>connection_id</parameter></methodparam>
+ <type>bool</type><methodname>ibase_close</methodname>
+ <methodparam
choice="opt"><type>resource</type><parameter>connection_id</parameter></methodparam>
</methodsynopsis>
<para>
Closes the link to an InterBase database that's associated with
a connection id returned from <function>ibase_connect</function>.
If the connection id is omitted, the last opened link is assumed.
Default transaction on link is committed, other transactions are
- rolled back.
+ rolled back. &return.success;
+ </para>
+ <para>
+ See also
+ <function>ibase_connect</function> and
+ <function>ibase_pconnect</function>.
</para>
</refsect1>
</refentry>
Index: phpdoc/en/reference/ibase/functions/ibase-commit.xml
diff -u phpdoc/en/reference/ibase/functions/ibase-commit.xml:1.2
phpdoc/en/reference/ibase/functions/ibase-commit.xml:1.3
--- phpdoc/en/reference/ibase/functions/ibase-commit.xml:1.2 Wed Apr 17 02:38:50
2002
+++ phpdoc/en/reference/ibase/functions/ibase-commit.xml Sun Jul 27 18:21:30
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/ibase.xml, last change in rev 1.23 -->
<refentry id="function.ibase-commit">
<refnamediv>
@@ -9,13 +9,13 @@
<refsect1>
<title>Description</title>
<methodsynopsis>
- <type>int</type><methodname>ibase_commit</methodname>
- <methodparam
choice="opt"><type>int</type><parameter>link_identifier</parameter></methodparam>
+ <type>bool</type><methodname>ibase_commit</methodname>
+ <methodparam
choice="opt"><type>resource</type><parameter>link_identifier</parameter></methodparam>
<methodparam><type>int</type><parameter>trans_number</parameter></methodparam>
</methodsynopsis>
<para>
Commits transaction <parameter>trans_number</parameter> which was
- created with <function>ibase_trans</function>.
+ created with <function>ibase_trans</function>. &return.success;
</para>
</refsect1>
</refentry>
Index: phpdoc/en/reference/ibase/functions/ibase-connect.xml
diff -u phpdoc/en/reference/ibase/functions/ibase-connect.xml:1.5
phpdoc/en/reference/ibase/functions/ibase-connect.xml:1.6
--- phpdoc/en/reference/ibase/functions/ibase-connect.xml:1.5 Sun Jul 27 13:21:23
2003
+++ phpdoc/en/reference/ibase/functions/ibase-connect.xml Sun Jul 27 18:21:30
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/ibase.xml, last change in rev 1.2 -->
<refentry id="function.ibase-connect">
<refnamediv>
@@ -11,7 +11,7 @@
<refsect1>
<title>Description</title>
<methodsynopsis>
- <type>int</type><methodname>ibase_connect</methodname>
+ <type>resource</type><methodname>ibase_connect</methodname>
<methodparam><type>string</type><parameter>database</parameter></methodparam>
<methodparam
choice="opt"><type>string</type><parameter>username</parameter></methodparam>
<methodparam
choice="opt"><type>string</type><parameter>password</parameter></methodparam>
@@ -83,15 +83,17 @@
</note>
<note>
<para>
- If you get some error like "arithmetic exception, numeric overflow, or string
truncation. Cannot
- transliterate character between character sets" (this occurs when you try use
some character
- with accents) when using this and after
- <function>ibase_query</function> you must set the character set(ie ISO8859_1 or
your current
- character set).
+ If you get some error like "arithmetic exception, numeric overflow,
+ or string truncation. Cannot transliterate character between character
+ sets" (this occurs when you try use some character with accents)
+ when using this and after <function>ibase_query</function> you must
+ set the character set (i.e. ISO8859_1 or your current character set).
</para>
</note>
<para>
- See also <function>ibase_pconnect</function>.
+ See also
+ <function>ibase_pconnect</function> and
+ <function>ibase_close</function>.
</para>
</refsect1>
</refentry>
Index: phpdoc/en/reference/ibase/functions/ibase-delete-user.xml
diff -u phpdoc/en/reference/ibase/functions/ibase-delete-user.xml:1.1
phpdoc/en/reference/ibase/functions/ibase-delete-user.xml:1.2
--- phpdoc/en/reference/ibase/functions/ibase-delete-user.xml:1.1 Sat May 10
18:54:24 2003
+++ phpdoc/en/reference/ibase/functions/ibase-delete-user.xml Sun Jul 27 18:21:30
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="function.ibase-delete-user">
<refnamediv>
<refname>ibase_delete_user</refname>
@@ -10,7 +10,7 @@
<refsect1>
<title>Description</title>
<methodsynopsis>
- <type>int</type><methodname>ibase_delete_user</methodname>
+ <type>bool</type><methodname>ibase_delete_user</methodname>
<methodparam><type>string</type><parameter>server</parameter></methodparam>
<methodparam><type>string</type><parameter>dba_user_name</parameter></methodparam>
<methodparam><type>string</type><parameter>dba_user_password</parameter></methodparam>
@@ -19,6 +19,11 @@
&warn.undocumented.func;
+ <para>
+ See also
+ <function>ibase_add_user</function> and
+ <function>ibase_modify_user</function>.
+ </para>
</refsect1>
</refentry>
Index: phpdoc/en/reference/ibase/functions/ibase-execute.xml
diff -u phpdoc/en/reference/ibase/functions/ibase-execute.xml:1.2
phpdoc/en/reference/ibase/functions/ibase-execute.xml:1.3
--- phpdoc/en/reference/ibase/functions/ibase-execute.xml:1.2 Wed Apr 17 02:38:50
2002
+++ phpdoc/en/reference/ibase/functions/ibase-execute.xml Sun Jul 27 18:21:30
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/ibase.xml, last change in rev 1.2 -->
<refentry id="function.ibase-execute">
<refnamediv>
@@ -9,8 +9,8 @@
<refsect1>
<title>Description</title>
<methodsynopsis>
- <type>int</type><methodname>ibase_execute</methodname>
- <methodparam><type>int</type><parameter>query</parameter></methodparam>
+ <type>resource</type><methodname>ibase_execute</methodname>
+ <methodparam><type>resource</type><parameter>query</parameter></methodparam>
<methodparam
choice="opt"><type>int</type><parameter>bind_args</parameter></methodparam>
</methodsynopsis>
<para>
@@ -18,7 +18,8 @@
This is a lot more effective than using <function>ibase_query</function>
if you are repeating a same kind of query several times with only
some parameters changing.
- <informalexample>
+ <example>
+ <title><function>ibase_execute</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
@@ -36,7 +37,7 @@
?>
]]>
</programlisting>
- </informalexample>
+ </example>
</para>
</refsect1>
</refentry>
Index: phpdoc/en/reference/ibase/functions/ibase-fetch-object.xml
diff -u phpdoc/en/reference/ibase/functions/ibase-fetch-object.xml:1.2
phpdoc/en/reference/ibase/functions/ibase-fetch-object.xml:1.3
--- phpdoc/en/reference/ibase/functions/ibase-fetch-object.xml:1.2 Wed Apr 17
02:38:50 2002
+++ phpdoc/en/reference/ibase/functions/ibase-fetch-object.xml Sun Jul 27 18:21:30
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/ibase.xml, last change in rev 1.9 -->
<refentry id="function.ibase-fetch-object">
<refnamediv>
@@ -10,7 +10,8 @@
<title>Description</title>
<methodsynopsis>
<type>object</type><methodname>ibase_fetch_object</methodname>
- <methodparam><type>int</type><parameter>result_id</parameter></methodparam>
+ <methodparam><type>resource</type><parameter>result_id</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>blob_flag</parameter></methodparam>
</methodsynopsis>
<para>
Fetches a row as a pseudo-object from a
@@ -39,7 +40,9 @@
more rows.
</para>
<para>
- See also <function>ibase_fetch_row</function>.
+ See also
+ <function>ibase_fetch_row</function> and
+ <function>ibase_fetch_assoc</function>.
</para>
</refsect1>
</refentry>
Index: phpdoc/en/reference/ibase/functions/ibase-fetch-row.xml
diff -u phpdoc/en/reference/ibase/functions/ibase-fetch-row.xml:1.2
phpdoc/en/reference/ibase/functions/ibase-fetch-row.xml:1.3
--- phpdoc/en/reference/ibase/functions/ibase-fetch-row.xml:1.2 Wed Apr 17 02:38:50
2002
+++ phpdoc/en/reference/ibase/functions/ibase-fetch-row.xml Sun Jul 27 18:21:30
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/ibase.xml, last change in rev 1.2 -->
<refentry id="function.ibase-fetch-row">
<refnamediv>
@@ -10,7 +10,8 @@
<title>Description</title>
<methodsynopsis>
<type>array</type><methodname>ibase_fetch_row</methodname>
-
<methodparam><type>int</type><parameter>result_identifier</parameter></methodparam>
+
<methodparam><type>resource</type><parameter>result_identifier</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>blob_flag</parameter></methodparam>
</methodsynopsis>
<para>
Returns an array that corresponds to the fetched row, or &false;
@@ -27,6 +28,11 @@
Subsequent call to <function>ibase_fetch_row</function> would
return the next row in the result set, or &false; if there are no
more rows.
+ </para>
+ <para>
+ See also
+ <function>ibase_fetch_assoc</function> and
+ <function>ibase_fetch_row</function>.
</para>
</refsect1>
</refentry>
Index: phpdoc/en/reference/ibase/functions/ibase-field-info.xml
diff -u phpdoc/en/reference/ibase/functions/ibase-field-info.xml:1.4
phpdoc/en/reference/ibase/functions/ibase-field-info.xml:1.5
--- phpdoc/en/reference/ibase/functions/ibase-field-info.xml:1.4 Wed Jul 16
13:12:55 2003
+++ phpdoc/en/reference/ibase/functions/ibase-field-info.xml Sun Jul 27 18:21:30
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/ibase.xml, last change in rev 1.23 -->
<refentry id="function.ibase-field-info">
<refnamediv>
@@ -12,7 +12,7 @@
<title>Description</title>
<methodsynopsis>
<type>array</type><methodname>ibase_field_info</methodname>
- <methodparam><type>int</type><parameter>result</parameter></methodparam>
+ <methodparam><type>resource</type><parameter>result</parameter></methodparam>
<methodparam><type>int</type><parameter>field_number</parameter></methodparam>
</methodsynopsis>
<para>
Index: phpdoc/en/reference/ibase/functions/ibase-free-query.xml
diff -u phpdoc/en/reference/ibase/functions/ibase-free-query.xml:1.2
phpdoc/en/reference/ibase/functions/ibase-free-query.xml:1.3
--- phpdoc/en/reference/ibase/functions/ibase-free-query.xml:1.2 Wed Apr 17
02:38:50 2002
+++ phpdoc/en/reference/ibase/functions/ibase-free-query.xml Sun Jul 27 18:21:30
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/ibase.xml, last change in rev 1.37 -->
<refentry id="function.ibase-free-query">
<refnamediv>
@@ -11,11 +11,12 @@
<refsect1>
<title>Description</title>
<methodsynopsis>
- <type>int</type><methodname>ibase_free_query</methodname>
- <methodparam><type>int</type><parameter>query</parameter></methodparam>
+ <type>bool</type><methodname>ibase_free_query</methodname>
+ <methodparam><type>resource</type><parameter>query</parameter></methodparam>
</methodsynopsis>
<simpara>
Free a query prepared by <function>ibase_prepare</function>.
+ &return.success;
</simpara>
</refsect1>
</refentry>
Index: phpdoc/en/reference/ibase/functions/ibase-free-result.xml
diff -u phpdoc/en/reference/ibase/functions/ibase-free-result.xml:1.2
phpdoc/en/reference/ibase/functions/ibase-free-result.xml:1.3
--- phpdoc/en/reference/ibase/functions/ibase-free-result.xml:1.2 Wed Apr 17
02:38:50 2002
+++ phpdoc/en/reference/ibase/functions/ibase-free-result.xml Sun Jul 27 18:21:30
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/ibase.xml, last change in rev 1.2 -->
<refentry id="function.ibase-free-result">
<refnamediv>
@@ -9,12 +9,13 @@
<refsect1>
<title>Description</title>
<methodsynopsis>
- <type>int</type><methodname>ibase_free_result</methodname>
-
<methodparam><type>int</type><parameter>result_identifier</parameter></methodparam>
+ <type>bool</type><methodname>ibase_free_result</methodname>
+
<methodparam><type>resource</type><parameter>result_identifier</parameter></methodparam>
</methodsynopsis>
<simpara>
Free's a result set the has been created by
<function>ibase_query</function>.
+ &return.success;
</simpara>
</refsect1>
</refentry>
Index: phpdoc/en/reference/ibase/functions/ibase-modify-user.xml
diff -u phpdoc/en/reference/ibase/functions/ibase-modify-user.xml:1.1
phpdoc/en/reference/ibase/functions/ibase-modify-user.xml:1.2
--- phpdoc/en/reference/ibase/functions/ibase-modify-user.xml:1.1 Sat May 10
18:54:24 2003
+++ phpdoc/en/reference/ibase/functions/ibase-modify-user.xml Sun Jul 27 18:21:30
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="function.ibase-modify-user">
<refnamediv>
<refname>ibase_modify_user</refname>
@@ -10,7 +10,7 @@
<refsect1>
<title>Description</title>
<methodsynopsis>
- <type>int</type><methodname>ibase_add_user</methodname>
+ <type>bool</type><methodname>ibase_modify_user</methodname>
<methodparam><type>string</type><parameter>server</parameter></methodparam>
<methodparam><type>string</type><parameter>dba_user_name</parameter></methodparam>
<methodparam><type>string</type><parameter>dba_user_password</parameter></methodparam>
@@ -23,6 +23,11 @@
&warn.undocumented.func;
+ <para>
+ See also
+ <function>ibase_add_user</function> and
+ <function>ibase_delete_user</function>.
+ </para>
</refsect1>
</refentry>
Index: phpdoc/en/reference/ibase/functions/ibase-num-fields.xml
diff -u phpdoc/en/reference/ibase/functions/ibase-num-fields.xml:1.2
phpdoc/en/reference/ibase/functions/ibase-num-fields.xml:1.3
--- phpdoc/en/reference/ibase/functions/ibase-num-fields.xml:1.2 Wed Apr 17
02:38:50 2002
+++ phpdoc/en/reference/ibase/functions/ibase-num-fields.xml Sun Jul 27 18:21:30
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/ibase.xml, last change in rev 1.12 -->
<refentry id="function.ibase-num-fields">
<refnamediv>
@@ -12,30 +12,30 @@
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>ibase_num_fields</methodname>
- <methodparam><type>int</type><parameter>result_id</parameter></methodparam>
+ <methodparam><type>resource</type><parameter>result_id</parameter></methodparam>
</methodsynopsis>
<para>
Returns an integer containing the number of fields in a result
set.
<informalexample>
<programlisting role="php">
- <![CDATA[
- <?php
- $dbh = ibase_connect ($host, $username, $password);
- $stmt = 'SELECT * FROM tblname';
- $sth = ibase_query ($dbh, $stmt);
+<![CDATA[
+<?php
+ $dbh = ibase_connect ($host, $username, $password);
+ $stmt = 'SELECT * FROM tblname';
+ $sth = ibase_query ($dbh, $stmt);
- if (ibase_num_fields($sth) > 0) {
- while ($row = ibase_fetch_object ($sth)) {
- print $row->email . "\n";
- }
- } else {
- die ("No Results were found for your query");
- }
+ if (ibase_num_fields($sth) > 0) {
+ while ($row = ibase_fetch_object ($sth)) {
+ print $row->email . "\n";
+ }
+ } else {
+ die ("No Results were found for your query");
+ }
- ibase_close ($dbh);
- ?>
- ]]>
+ ibase_close ($dbh);
+?>
+]]>
</programlisting>
</informalexample>
</para>
Index: phpdoc/en/reference/ibase/functions/ibase-pconnect.xml
diff -u phpdoc/en/reference/ibase/functions/ibase-pconnect.xml:1.2
phpdoc/en/reference/ibase/functions/ibase-pconnect.xml:1.3
--- phpdoc/en/reference/ibase/functions/ibase-pconnect.xml:1.2 Wed Apr 17 02:38:50
2002
+++ phpdoc/en/reference/ibase/functions/ibase-pconnect.xml Sun Jul 27 18:21:30
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/ibase.xml, last change in rev 1.2 -->
<refentry id="function.ibase-pconnect">
<refnamediv>
@@ -11,7 +11,7 @@
<refsect1>
<title>Description</title>
<methodsynopsis>
- <type>int</type><methodname>ibase_pconnect</methodname>
+ <type>resource</type><methodname>ibase_pconnect</methodname>
<methodparam><type>string</type><parameter>database</parameter></methodparam>
<methodparam
choice="opt"><type>string</type><parameter>username</parameter></methodparam>
<methodparam
choice="opt"><type>string</type><parameter>password</parameter></methodparam>
@@ -51,7 +51,8 @@
</para>
</note>
<para>
- See also <function>ibase_connect</function> for the meaning of
+ See also <function>ibase_close</function> and
+ <function>ibase_connect</function> for the meaning of
parameters passed to this function. They are exactly the same.
</para>
</refsect1>
Index: phpdoc/en/reference/ibase/functions/ibase-prepare.xml
diff -u phpdoc/en/reference/ibase/functions/ibase-prepare.xml:1.2
phpdoc/en/reference/ibase/functions/ibase-prepare.xml:1.3
--- phpdoc/en/reference/ibase/functions/ibase-prepare.xml:1.2 Wed Apr 17 02:38:50
2002
+++ phpdoc/en/reference/ibase/functions/ibase-prepare.xml Sun Jul 27 18:21:30
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/ibase.xml, last change in rev 1.2 -->
<refentry id="function.ibase-prepare">
<refnamediv>
@@ -12,8 +12,8 @@
<refsect1>
<title>Description</title>
<methodsynopsis>
- <type>int</type><methodname>ibase_prepare</methodname>
- <methodparam
choice="opt"><type>int</type><parameter>link_identifier</parameter></methodparam>
+ <type>resource</type><methodname>ibase_prepare</methodname>
+ <methodparam
choice="opt"><type>resource</type><parameter>link_identifier</parameter></methodparam>
<methodparam><type>string</type><parameter>query</parameter></methodparam>
</methodsynopsis>
<simpara>
Index: phpdoc/en/reference/ibase/functions/ibase-query.xml
diff -u phpdoc/en/reference/ibase/functions/ibase-query.xml:1.2
phpdoc/en/reference/ibase/functions/ibase-query.xml:1.3
--- phpdoc/en/reference/ibase/functions/ibase-query.xml:1.2 Wed Apr 17 02:38:51
2002
+++ phpdoc/en/reference/ibase/functions/ibase-query.xml Sun Jul 27 18:21:30 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/ibase.xml, last change in rev 1.2 -->
<refentry id="function.ibase-query">
<refnamediv>
@@ -9,8 +9,8 @@
<refsect1>
<title>Description</title>
<methodsynopsis>
- <type>int</type><methodname>ibase_query</methodname>
- <methodparam
choice="opt"><type>int</type><parameter>link_identifier</parameter></methodparam>
+ <type>resource</type><methodname>ibase_query</methodname>
+ <methodparam
choice="opt"><type>resource</type><parameter>link_identifier</parameter></methodparam>
<methodparam><type>string</type><parameter>query</parameter></methodparam>
<methodparam
choice="opt"><type>int</type><parameter>bind_args</parameter></methodparam>
</methodsynopsis>
@@ -19,8 +19,35 @@
successful, returns &false;. If it is successful and there are resulting
rows (such as with a SELECT query), returns a result identifier. If
the query was successful and there were no results, returns &true;.
- Returns &false; if the query fails.
</simpara>
+ <para>
+ <example>
+ <title><function>ibase_query</function> example</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+
+ $host = 'localhost:/path/to/your.gdb';
+
+ $dbh = ibase_connect($host, $username, $password);
+ $stmt = 'SELECT * FROM tblname';
+
+ $sth = ibase_query($dbh, $stmt) or die(ibase_errmsg());
+
+?>
+]]>
+ </programlisting>
+ </example>
+ </para>
+ <note>
+ <para>
+ If you get some error like "arithmetic exception, numeric overflow,
+ or string truncation. Cannot transliterate character between character
+ sets" (this occurs when you try use some character with accents)
+ when using this and after <function>ibase_query</function> you must
+ set the character set (i.e. ISO8859_1 or your current character set).
+ </para>
+ </note>
<para>
See also <function>ibase_errmsg</function>,
<function>ibase_fetch_row</function>,
Index: phpdoc/en/reference/ibase/functions/ibase-rollback.xml
diff -u phpdoc/en/reference/ibase/functions/ibase-rollback.xml:1.2
phpdoc/en/reference/ibase/functions/ibase-rollback.xml:1.3
--- phpdoc/en/reference/ibase/functions/ibase-rollback.xml:1.2 Wed Apr 17 02:38:51
2002
+++ phpdoc/en/reference/ibase/functions/ibase-rollback.xml Sun Jul 27 18:21:30
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/ibase.xml, last change in rev 1.23 -->
<refentry id="function.ibase-rollback">
<refnamediv>
@@ -9,13 +9,13 @@
<refsect1>
<title>Description</title>
<methodsynopsis>
- <type>int</type><methodname>ibase_rollback</methodname>
- <methodparam
choice="opt"><type>int</type><parameter>link_identifier</parameter></methodparam>
+ <type>bool</type><methodname>ibase_rollback</methodname>
+ <methodparam
choice="opt"><type>resource</type><parameter>link_identifier</parameter></methodparam>
<methodparam><type>int</type><parameter>trans_number</parameter></methodparam>
</methodsynopsis>
<para>
Rolls back transaction <parameter>trans_number</parameter> which was
- created with <function>ibase_trans</function>.
+ created with <function>ibase_trans</function>. &return.success;
</para>
</refsect1>
</refentry>
Index: phpdoc/en/reference/ibase/functions/ibase-trans.xml
diff -u phpdoc/en/reference/ibase/functions/ibase-trans.xml:1.2
phpdoc/en/reference/ibase/functions/ibase-trans.xml:1.3
--- phpdoc/en/reference/ibase/functions/ibase-trans.xml:1.2 Wed Apr 17 02:38:51
2002
+++ phpdoc/en/reference/ibase/functions/ibase-trans.xml Sun Jul 27 18:21:30 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/ibase.xml, last change in rev 1.23 -->
<refentry id="function.ibase-trans">
<refnamediv>
@@ -9,12 +9,18 @@
<refsect1>
<title>Description</title>
<methodsynopsis>
- <type>int</type><methodname>ibase_trans</methodname>
+ <type>resource</type><methodname>ibase_trans</methodname>
<methodparam
choice="opt"><type>int</type><parameter>trans_args</parameter></methodparam>
- <methodparam
choice="opt"><type>int</type><parameter>link_identifier</parameter></methodparam>
+ <methodparam
choice="opt"><type>resource</type><parameter>link_identifier</parameter></methodparam>
</methodsynopsis>
<para>
Begins a transaction.
+ </para>
+ <para>
+ <parameter>trans_args</parameter> can be a combination of
+ IBASE_READ, IBASE_WRITE, IBASE_COMMITED, IBASE_CONSISTENCY,
+ IBASE_CONCURRENCY, IBASE_REC_VERSION, IBASE_REC_NO_VERSION,
+ IBASE_WAIT and IBASE_NOWAIT.
</para>
</refsect1>
</refentry>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php