hholzgra                Sun Sep 16 18:02:15 2001 EDT

  Modified files:              
    /phpdoc/en/functions        dbplus.xml 
  Log:
  - whitespace in the error-code table
  - dbplus_rcreate function
  - slight paramater change in dbplus_rkey and dbplus_rsecindex
  
  
Index: phpdoc/en/functions/dbplus.xml
diff -u phpdoc/en/functions/dbplus.xml:1.12 phpdoc/en/functions/dbplus.xml:1.13
--- phpdoc/en/functions/dbplus.xml:1.12 Thu Sep 13 16:40:46 2001
+++ phpdoc/en/functions/dbplus.xml      Sun Sep 16 18:02:15 2001
@@ -1,5 +1,5 @@
 <?xml encoding="iso-8859-1"?>
-<!-- $Revision: 1.12 $ -->
+<!-- $Revision: 1.13 $ -->
  <reference id="ref.dbplus">
   <title>DB++ Functions</title>
   <titleabbrev>DB++</titleabbrev>
@@ -64,11 +64,11 @@
       <title>DB++ Error Codes</title>
       <tgroup cols="3">
        <thead>
-       <row>
-        <entry>PHP Constant</entry>
-        <entry>db++ constant</entry>
-        <entry>meaning</entry>
-       </row>
+        <row>
+         <entry>PHP Constant</entry>
+         <entry>db++ constant</entry>
+         <entry>meaning</entry>
+        </row>
        </thead>
        <tbody>
         <row>
@@ -228,13 +228,19 @@
         </row>
         <row>
          <entry>DBPLUS_ERR_WARNING0</entry>
-         <entry>ERR_WARNING0</entry> <entry>The Simple routines
-         encountered a non fatal error which was corrected</entry>
+         <entry>ERR_WARNING0</entry> 
+         <entry>
+          The Simple routines encountered a non fatal error which was
+          corrected
+         </entry>
         </row>
         <row>
-         <entry>DBPLUS_ERR_PANIC</entry> <entry>ERR_PANIC</entry>
-         <entry>The server should not really die but after a disaster
-         send ERR_PANIC to all its clients</entry>
+         <entry>DBPLUS_ERR_PANIC</entry> 
+         <entry>ERR_PANIC</entry>
+         <entry>
+          The server should not really die but after a disaster
+          send ERR_PANIC to all its clients
+         </entry>
         </row>
         <row>
          <entry>DBPLUS_ERR_FIFO</entry>
@@ -257,9 +263,12 @@
          <entry>Only two users</entry>
         </row>
         <row>
-         <entry>DBPLUS_ERR_USER</entry> <entry>ERR_USER</entry>
-         <entry>An error in the use of the library by an application
-         programmer</entry>
+         <entry>DBPLUS_ERR_USER</entry> 
+         <entry>ERR_USER</entry>
+         <entry>
+          An error in the use of the library by an application
+          programmer
+         </entry>
         </row>
         <row>
          <entry>DBPLUS_ERR_UNKNOWN</entry>
@@ -924,14 +933,29 @@
      <funcprototype>
       <funcdef>int <function>dbplus_rcreate</function></funcdef>
       <paramdef>string <parameter>name</parameter></paramdef>
-      <paramdef>string <parameter>domlist</parameter></paramdef>
-      <paramdef>int <parameter>flag</parameter></paramdef>
+      <paramdef>mixed <parameter>domlist</parameter></paramdef>
+      <paramdef>boolean 
+<parameter><optional>overwrite</optional></parameter></paramdef>
      </funcprototype>
     </funcsynopsis>
     &warn.experimental.func;
     <para>
-     Not implemented yet.
+     <function>dbplus_rcreate</function> will create a new relation
+     named <parameter>name</parameter>. An existing relation by the
+     same name will only be overwritten if the relation is currently
+     not in use and <parameter>overwrite</parameter> is set to TRUE.
+    </para>
+    <para>
+     <parameter>domlist</parameter> should contain the domain
+     specification for the new relation within an array of domain
+     description strings. ( <function>dbplus_rcreate</function> will
+     also accept a string with space delimited domain description
+     strings, but it is recommended to use an array). A domain
+     description string consists of a domain name unique to this
+     relation, a slash and a type specification character. See the
+     db++ documentatiion, especially the dbcreate(1) manpage, for a
+     description of available type specifiers and their meanings.
     </para>
+    
    </refsect1>
   </refentry>
 
@@ -1027,9 +1051,8 @@
      combination of domains specified by <parameter>domlist</parameter>.
     </para>
     <para>
-     <parameter>domlist</parameter> may be passed as an array of
-     domain name strings or as a space separated list of names in a
-     single string.
+     <parameter>domlist</parameter> may be passed as a single domain name
+     string or as an array of domain names.
     </para>
    </refsect1>
   </refentry>
@@ -1132,9 +1155,8 @@
      type <parameter>type</parameter>
     </para>
     <para>
-     <parameter>domlist</parameter> may be passed as an array of
-     domain name strings or as a space separated list of names in a
-     single string.
+     <parameter>domlist</parameter> may be passed as a single domain name
+     string or as an array of domain names.
     </para>
    </refsect1>
   </refentry>
@@ -1492,4 +1514,4 @@
 sgml-local-ecat-files:nil
 End:
 vim: ts=1 sw=1 et syntax=sgml
--->
+-->
\ No newline at end of file


Reply via email to