From 7e823ceb30154e22aa9bd51b02202c6944ac5d0e Mon Sep 17 00:00:00 2001
From: Philip Olson <philip@php.net>
Date: Sat, 10 May 2003 22:54:24 +0000
Subject: [PATCH] Initial [sparse] documentation for missing ibase functions.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@126489 c90b9560-bf6c-de11-be94-00142212c4b1
---
 reference/ibase/functions/ibase-add-user.xml  | 48 +++++++++++++++
 .../ibase/functions/ibase-delete-user.xml     | 44 ++++++++++++++
 .../ibase/functions/ibase-fetch-assoc.xml     | 59 +++++++++++++++++++
 .../ibase/functions/ibase-modify-user.xml     | 48 +++++++++++++++
 4 files changed, 199 insertions(+)
 create mode 100644 reference/ibase/functions/ibase-add-user.xml
 create mode 100644 reference/ibase/functions/ibase-delete-user.xml
 create mode 100644 reference/ibase/functions/ibase-fetch-assoc.xml
 create mode 100644 reference/ibase/functions/ibase-modify-user.xml

diff --git a/reference/ibase/functions/ibase-add-user.xml b/reference/ibase/functions/ibase-add-user.xml
new file mode 100644
index 0000000000..c54778df37
--- /dev/null
+++ b/reference/ibase/functions/ibase-add-user.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- $Revision: 1.1 $ -->
+  <refentry id="function.ibase-add-user">
+   <refnamediv>
+    <refname>ibase_add_user</refname>
+    <refpurpose>
+     Add a user to a security database (only for IB6 or later)
+    </refpurpose> 
+   </refnamediv>
+   <refsect1>
+    <title>Description</title>
+     <methodsynopsis>
+      <type>int</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>
+      <methodparam><type>string</type><parameter>user_name</parameter></methodparam>
+      <methodparam><type>string</type><parameter>password</parameter></methodparam>
+      <methodparam choice="opt"><type>string</type><parameter>first_name</parameter></methodparam>
+      <methodparam choice="opt"><type>string</type><parameter>middle_name</parameter></methodparam>
+      <methodparam choice="opt"><type>string</type><parameter>last_name</parameter></methodparam>
+     </methodsynopsis>
+
+    &warn.undocumented.func;
+
+   </refsect1>
+  </refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"../../../../manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
diff --git a/reference/ibase/functions/ibase-delete-user.xml b/reference/ibase/functions/ibase-delete-user.xml
new file mode 100644
index 0000000000..7008a57d6c
--- /dev/null
+++ b/reference/ibase/functions/ibase-delete-user.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- $Revision: 1.1 $ -->
+  <refentry id="function.ibase-delete-user">
+   <refnamediv>
+    <refname>ibase_delete_user</refname>
+    <refpurpose>
+     Delete a user from a security database (only for IB6 or later)
+    </refpurpose> 
+   </refnamediv>
+   <refsect1>
+    <title>Description</title>
+     <methodsynopsis>
+      <type>int</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>
+      <methodparam><type>string</type><parameter>user_name</parameter></methodparam>
+     </methodsynopsis>
+
+    &warn.undocumented.func;
+
+   </refsect1>
+  </refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"../../../../manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
diff --git a/reference/ibase/functions/ibase-fetch-assoc.xml b/reference/ibase/functions/ibase-fetch-assoc.xml
new file mode 100644
index 0000000000..2d9047d4f1
--- /dev/null
+++ b/reference/ibase/functions/ibase-fetch-assoc.xml
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- $Revision: 1.1 $ -->
+  <refentry id="function.ibase-fetch-assoc">
+   <refnamediv>
+    <refname>ibase_fetch_assoc</refname>
+    <refpurpose>
+     Fetch a result row from a query as an associative array
+    </refpurpose> 
+   </refnamediv>
+   <refsect1>
+    <title>Description</title>
+     <methodsynopsis>
+      <type>array</type><methodname>ibase_fetch_assoc</methodname>
+      <methodparam><type>resource</type><parameter>result</parameter></methodparam>
+      <methodparam choice="opt"><type>int</type><parameter>blob_flag</parameter></methodparam>
+     </methodsynopsis>
+    <para>
+     <function>ibase_fetch_assoc</function> returns an associative array
+     that corresponds to the fetched row.  Subsequent calls would return 
+     the next row in the result set, or &false; if there are no more
+     rows.
+    </para>
+    <para>
+     <function>ibase_fetch_assoc</function> fetches one row of data from the
+     <parameter>result</parameter>.  If two or more columns of the result
+     have the same field names, the last column will take precedence. To
+     access the other column(s) of the same name, you either need to access
+     the result with numeric indices by using
+     <function>ibase_fetch_row</function> or use alias names in your query.
+    </para>
+    <para>
+     See also
+     <function>ibase_query</function>, 
+     <function>ibase_fetch_row</function>, and 
+     <function>ibase_fetch_object</function>.
+    </para>
+   </refsect1>
+  </refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"../../../../manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
diff --git a/reference/ibase/functions/ibase-modify-user.xml b/reference/ibase/functions/ibase-modify-user.xml
new file mode 100644
index 0000000000..1850517c02
--- /dev/null
+++ b/reference/ibase/functions/ibase-modify-user.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- $Revision: 1.1 $ -->
+  <refentry id="function.ibase-modify-user">
+   <refnamediv>
+    <refname>ibase_modify_user</refname>
+    <refpurpose>
+     Modify a user to a security database (only for IB6 or later)
+    </refpurpose> 
+   </refnamediv>
+   <refsect1>
+    <title>Description</title>
+     <methodsynopsis>
+      <type>int</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>
+      <methodparam><type>string</type><parameter>user_name</parameter></methodparam>
+      <methodparam><type>string</type><parameter>password</parameter></methodparam>
+      <methodparam choice="opt"><type>string</type><parameter>first_name</parameter></methodparam>
+      <methodparam choice="opt"><type>string</type><parameter>middle_name</parameter></methodparam>
+      <methodparam choice="opt"><type>string</type><parameter>last_name</parameter></methodparam>
+     </methodsynopsis>
+
+    &warn.undocumented.func;
+
+   </refsect1>
+  </refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"../../../../manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->