From c282cc561a3ee78f30e597cee447e382e7c460ba Mon Sep 17 00:00:00 2001
From: Ard Biesheuvel <abies@php.net>
Date: Sun, 30 May 2004 20:48:58 +0000
Subject: [PATCH] Added new configuration directives

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@160101 c90b9560-bf6c-de11-be94-00142212c4b1
---
 reference/ibase/ini.xml | 152 ++++++++++++++++++++++++++++++++++++++--
 1 file changed, 148 insertions(+), 4 deletions(-)

diff --git a/reference/ibase/ini.xml b/reference/ibase/ini.xml
index f238502d00..d044d2e638 100644
--- a/reference/ibase/ini.xml
+++ b/reference/ibase/ini.xml
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Id: ini.xml,v 1.3 2004-05-30 20:48:58 abies Exp $ -->
 <section id="ibase.configuration">
  &reftitle.runtime;
  &extension.runtime;
@@ -17,7 +17,7 @@
    <tbody>
     <row>
      <entry>ibase.allow_persistent</entry>
-     <entry>"1"</entry>
+     <entry>"On"</entry>
      <entry>PHP_INI_SYSTEM</entry>
     </row>
     <row>
@@ -30,6 +30,11 @@
      <entry>"-1"</entry>
      <entry>PHP_INI_SYSTEM</entry>
     </row>
+    <row>
+     <entry>ibase.default_db</entry>
+     <entry>NULL</entry>
+     <entry>PHP_INI_SYSTEM</entry>
+    </row>
     <row>
      <entry>ibase.default_user</entry>
      <entry>NULL</entry>
@@ -40,14 +45,19 @@
      <entry>NULL</entry>
      <entry>PHP_INI_ALL</entry>
     </row>
+    <row>
+     <entry>ibase.default_charset</entry>
+     <entry>NULL</entry>
+     <entry>PHP_INI_ALL</entry>
+    </row>
     <row>
      <entry>ibase.timestampformat</entry>
-     <entry>"%m/%d/%Y%H:%M:%S"</entry>
+     <entry>"%Y-%m-%d %H:%M:%S"</entry>
      <entry>PHP_INI_ALL</entry>
     </row>
     <row>
      <entry>ibase.dateformat</entry>
-     <entry>"%m/%d/%Y"</entry>
+     <entry>"%Y-%m-%d"</entry>
      <entry>PHP_INI_ALL</entry>
     </row>
     <row>
@@ -60,6 +70,140 @@
  </table>
  For further details and definition of the PHP_INI_* constants see
  <function>ini_set</function>.
+ </para>
+
+		 &ini.descriptions.title;
+
+<para>
+ <variablelist>
+   <varlistentry id="ini.ibase.allow-persistent">
+   <term>
+    <parameter>ibase.allow_persistent</parameter>
+    <type>boolean</type>
+   </term>
+   <listitem>
+    <para>
+     Whether to allow
+     <link linkend="features.persistent-connections">persistent connections</link>
+     to Firebird/InterBase.
+    </para>
+   </listitem>
+  </varlistentry>
+  
+  <varlistentry id="ini.ibase.max-persistent">
+   <term>
+    <parameter>ibase.max_persistent</parameter>
+    <type>integer</type>
+   </term>
+   <listitem>
+    <para>
+     The maximum number of persistent Firebird/InterBase connections per
+     process. New connections created with ibase_pconnect() will be non-persistent
+     if this number would be exceeded.
+    </para>
+   </listitem>
+  </varlistentry>
+  
+  <varlistentry id="ini.ibase.max-links">
+   <term>
+    <parameter>ibase.max_links</parameter>
+    <type>integer</type>
+   </term>
+   <listitem>
+    <para>
+     The maximum number of Firebird/InterBase connections per process, including
+     persistent connections.
+    </para>
+   </listitem>
+  </varlistentry>
+   <varlistentry id="ini.ibase.default-db">
+   <term>
+    <parameter>ibase.default_db</parameter>
+    <type>string</type>
+   </term>
+   <listitem>
+    <para>
+     The default database to connect to when ibase_[p]connect() is called
+     without specifying a database name. If this value is set and SQL safe
+     mode is enabled, no other connections than to this database will be allowed.
+    </para>
+   </listitem>
+  </varlistentry>
+  <varlistentry id="ini.ibase.default-user">
+   <term>
+    <parameter>ibase.default_user</parameter>
+    <type>string</type>
+   </term>
+   <listitem>
+    <para>
+     The user name to use when connecting to a database
+     if no user name is specified.
+    </para>
+   </listitem>
+  </varlistentry>
+  
+  <varlistentry id="ini.ibase.default-password">
+   <term>
+    <parameter>ibase.default_password</parameter>
+    <type>string</type>
+   </term>
+   <listitem>
+    <para>
+     The password to use when connecting to a database
+     if no password is specified.
+    </para>
+   </listitem>
+  </varlistentry>
+  <varlistentry id="ini.ibase.default-charset">
+   <term>
+    <parameter>ibase.default_charset</parameter>
+    <type>string</type>
+   </term>
+   <listitem>
+    <para>
+     The character set to use when connecting to a database
+     if no character set is specified.
+    </para>
+   </listitem>
+  </varlistentry>
+  
+  <!-- Date and time directives -->
+  
+  <varlistentry id="ini.ibase.timestampformat">
+   <term>
+    <parameter>ibase.timestampformat</parameter>
+    <type>string</type>
+   </term>
+   <listitem>
+    <para>
+    </para>
+   </listitem>
+  </varlistentry>
+  <varlistentry id="ini.ibase.dateformat">
+   <term>
+    <parameter>ibase.dateformat</parameter>
+    <type>string</type>
+   </term>
+   <listitem>
+    <para>
+    </para>
+   </listitem>
+  </varlistentry>
+  <varlistentry id="ini.ibase.timeformat">
+   <term>
+    <parameter>ibase.timeformat</parameter>
+    <type>string</type>
+   </term>
+   <listitem>
+    <para>
+    These directives are used to set the date and time formats
+    that are used when returning dates and times from a result set,
+    or when binding arguments to date and time parameters. 
+    </para>
+   </listitem>
+  </varlistentry>
+ 
+ </variablelist>
  </para>
 </section>