[PHP-DOC] cvs: phpdoc /en/reference/dbx constants.xml ini.xml reference.xml /en/reference/dbx/functions dbx-query.xml From: Marc Boeren (M.Boeren <email protected>)
Date: 10/28/02

mboeren Mon Oct 28 06:08:19 2002 EDT

  Added files:
    /phpdoc/en/reference/dbx ini.xml

  Modified files:
    /phpdoc/en/reference/dbx constants.xml reference.xml
    /phpdoc/en/reference/dbx/functions dbx-query.xml
  Log:
  Updated to reflect new ini-entry and falgs to dbx_query.
  
  
Index: phpdoc/en/reference/dbx/constants.xml
diff -u phpdoc/en/reference/dbx/constants.xml:1.2 phpdoc/en/reference/dbx/constants.xml:1.3
--- phpdoc/en/reference/dbx/constants.xml:1.2 Sun May 5 12:39:15 2002
+++ phpdoc/en/reference/dbx/constants.xml Mon Oct 28 06:08:18 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
  <section id="constants.dbx">
  &reftitle.constants;
  &extension.constants;
@@ -117,6 +117,39 @@
     <varlistentry>
      <term>
       <constant>DBX_RESULT_ASSOC</constant>
+ (<link linkend="language.types.integer">integer</link>)
+ </term>
+ <listitem>
+ <simpara>
+
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <constant>DBX_COLNAMES_UNCHANGED</constant>
+ (<link linkend="language.types.integer">integer</link>)
+ </term>
+ <listitem>
+ <simpara>
+
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <constant>DBX_COLNAMES_UPPERCASE</constant>
+ (<link linkend="language.types.integer">integer</link>)
+ </term>
+ <listitem>
+ <simpara>
+
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <constant>DBX_COLNAMES_LOWERCASE</constant>
       (<link linkend="language.types.integer">integer</link>)
      </term>
      <listitem>
Index: phpdoc/en/reference/dbx/reference.xml
diff -u phpdoc/en/reference/dbx/reference.xml:1.5 phpdoc/en/reference/dbx/reference.xml:1.6
--- phpdoc/en/reference/dbx/reference.xml:1.5 Thu Oct 24 11:06:41 2002
+++ phpdoc/en/reference/dbx/reference.xml Mon Oct 28 06:08:18 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
 
 <!--
     If anyone from the translator group has problems with the
@@ -87,11 +87,8 @@
      specific documentation.
     </para>
    </section>
-
- <section id="dbx.runtime">
- &reftitle.runtime;
- &no.config;
- </section>
+
+ &reference.dbx.ini;
 
    <section id="dbx.resources">
     &reftitle.resources;
Index: phpdoc/en/reference/dbx/functions/dbx-query.xml
diff -u phpdoc/en/reference/dbx/functions/dbx-query.xml:1.3 phpdoc/en/reference/dbx/functions/dbx-query.xml:1.4
--- phpdoc/en/reference/dbx/functions/dbx-query.xml:1.3 Thu Oct 24 11:06:41 2002
+++ phpdoc/en/reference/dbx/functions/dbx-query.xml Mon Oct 28 06:08:18 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <!-- splitted from ./en/functions/dbx.xml, last change in rev 1.3 -->
   <refentry id="function.dbx-query">
    <refnamediv>
@@ -51,7 +51,8 @@
     <para>
      The <parameter>flags</parameter> parameter is used to control the amount of
      information that is returned. It may be any combination of the following
- constants with the bitwise OR operator (|):
+ constants with the bitwise OR operator (|). The DBX_COLNAMES_* flags
+ override the dbx.colnames_case setting from <filename>php.ini</filename>.
      <variablelist>
       <varlistentry>
        <term>
@@ -98,6 +99,38 @@
          data, so modifying <literal>data[0][0]</literal> causes that
          <literal>data[0]['field_name_for_first_column']</literal> is modified
          as well.
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <constant>DBX_COLNAMES_UNCHANGED</constant>
+ </term>
+ <listitem>
+ <simpara>
+ The case of the returned column names will not be changed.
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <constant>DBX_COLNAMES_UPPERCASE</constant>
+ </term>
+ <listitem>
+ <simpara>
+ The case of the returned column names will be changed to
+ uppercase.
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <constant>DBX_COLNAMES_LOWERCASE</constant>
+ </term>
+ <listitem>
+ <simpara>
+ The case of the returned column names will be changed to
+ lowercase.
         </simpara>
        </listitem>
       </varlistentry>

Index: phpdoc/en/reference/dbx/ini.xml
+++ phpdoc/en/reference/dbx/ini.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<section id="dbx.configuration">
 &reftitle.runtime;
 &extension.runtime;
 <para>
  <table>
   <title>DBX Configuration Options</title>
   <tgroup cols="3">
    <thead>
     <row>
      <entry>Name</entry>
      <entry>Default</entry>
      <entry>Changeable</entry>
     </row>
    </thead>
    <tbody>
     <row>
      <entry>dbx.colnames_case</entry>
      <entry>"unchanged"</entry>
      <entry>PHP_INI_SYSTEM</entry>
     </row>
    </tbody>
   </tgroup>
  </table>
  For further details and definition of the PHP_INI_* constants see
  <function>ini_set</function>.
</para>
<para>
 Here is a short explanation of the configuration directives.
 <variablelist>
   <varlistentry id="ini.dbx.colnames-case">
   <term>
    <parameter>dbx.colnames_case</parameter>
    <type>string</type>
   </term>
   <listitem>
    <para>
     Columns names can be returned "unchanged" or converted to
     "uppercase" or "lowercase". This directive can be overridden
     with a flag to <function>dbx_query</function>.
    </para>
   </listitem>
  </varlistentry>
 
 </variablelist>
 </para>
</section>

<!-- 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
-->

-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php