betz Thu Apr 25 17:45:45 2002 EDT
Modified files:
/phpdoc/en/reference/dba/functions dba-sync.xml dba-replace.xml
dba-popen.xml dba-optimize.xml
dba-open.xml dba-nextkey.xml
dba-insert.xml dba-firstkey.xml
dba-fetch.xml dba-exists.xml
dba-delete.xml dba-close.xml
Log:
changed return type for dba_open and dba_popen to resource;
also paramtypes for the functions.
changed some links according to the new structure of reference.
Index: phpdoc/en/reference/dba/functions/dba-sync.xml
diff -u phpdoc/en/reference/dba/functions/dba-sync.xml:1.2
phpdoc/en/reference/dba/functions/dba-sync.xml:1.3
--- phpdoc/en/reference/dba/functions/dba-sync.xml:1.2 Wed Apr 17 02:37:15 2002
+++ phpdoc/en/reference/dba/functions/dba-sync.xml Thu Apr 25 17:45:45 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/dba.xml, last change in rev 1.2 -->
<refentry id="function.dba-sync">
<refnamediv>
@@ -10,7 +10,7 @@
<title>Description</title>
<methodsynopsis>
<type>bool</type><methodname>dba_sync</methodname>
- <methodparam><type>int</type><parameter>handle</parameter></methodparam>
+ <methodparam><type>resource</type><parameter>handle</parameter></methodparam>
</methodsynopsis>
<para>
<function>dba_sync</function> synchronizes the database specified by
Index: phpdoc/en/reference/dba/functions/dba-replace.xml
diff -u phpdoc/en/reference/dba/functions/dba-replace.xml:1.2
phpdoc/en/reference/dba/functions/dba-replace.xml:1.3
--- phpdoc/en/reference/dba/functions/dba-replace.xml:1.2 Wed Apr 17 02:37:15
2002
+++ phpdoc/en/reference/dba/functions/dba-replace.xml Thu Apr 25 17:45:45 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/dba.xml, last change in rev 1.2 -->
<refentry id="function.dba-replace">
<refnamediv>
@@ -12,7 +12,7 @@
<type>bool</type><methodname>dba_replace</methodname>
<methodparam><type>string</type><parameter>key</parameter></methodparam>
<methodparam><type>string</type><parameter>value</parameter></methodparam>
- <methodparam><type>int</type><parameter>handle</parameter></methodparam>
+ <methodparam><type>resource</type><parameter>handle</parameter></methodparam>
</methodsynopsis>
<para>
<function>dba_replace</function> replaces or inserts the entry described
Index: phpdoc/en/reference/dba/functions/dba-popen.xml
diff -u phpdoc/en/reference/dba/functions/dba-popen.xml:1.2
phpdoc/en/reference/dba/functions/dba-popen.xml:1.3
--- phpdoc/en/reference/dba/functions/dba-popen.xml:1.2 Wed Apr 17 02:37:15 2002
+++ phpdoc/en/reference/dba/functions/dba-popen.xml Thu Apr 25 17:45:45 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/dba.xml, last change in rev 1.2 -->
<refentry id="function.dba-popen">
<refnamediv>
@@ -9,7 +9,7 @@
<refsect1>
<title>Description</title>
<methodsynopsis>
- <type>int</type><methodname>dba_popen</methodname>
+ <type>resource</type><methodname>dba_popen</methodname>
<methodparam><type>string</type><parameter>path</parameter></methodparam>
<methodparam><type>string</type><parameter>mode</parameter></methodparam>
<methodparam><type>string</type><parameter>handler</parameter></methodparam>
@@ -31,7 +31,7 @@
create, truncate and read/write access.
</para>
<para>
- <parameter>handler</parameter> is the <link linkend="ref.dba">name
+ <parameter>handler</parameter> is the <link linkend="dba.requirements">name
of the handler</link> which shall be
used for accessing <parameter>path</parameter>. It is passed all optional
parameters given to <function>dba_popen</function> and can act on behalf
Index: phpdoc/en/reference/dba/functions/dba-optimize.xml
diff -u phpdoc/en/reference/dba/functions/dba-optimize.xml:1.2
phpdoc/en/reference/dba/functions/dba-optimize.xml:1.3
--- phpdoc/en/reference/dba/functions/dba-optimize.xml:1.2 Wed Apr 17 02:37:15
2002
+++ phpdoc/en/reference/dba/functions/dba-optimize.xml Thu Apr 25 17:45:45 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/dba.xml, last change in rev 1.2 -->
<refentry id="function.dba-optimize">
<refnamediv>
@@ -10,7 +10,7 @@
<title>Description</title>
<methodsynopsis>
<type>bool</type><methodname>dba_optimize</methodname>
- <methodparam><type>int</type><parameter>handle</parameter></methodparam>
+ <methodparam><type>resource</type><parameter>handle</parameter></methodparam>
</methodsynopsis>
<para>
<function>dba_optimize</function> optimizes the underlying database
Index: phpdoc/en/reference/dba/functions/dba-open.xml
diff -u phpdoc/en/reference/dba/functions/dba-open.xml:1.2
phpdoc/en/reference/dba/functions/dba-open.xml:1.3
--- phpdoc/en/reference/dba/functions/dba-open.xml:1.2 Wed Apr 17 02:37:15 2002
+++ phpdoc/en/reference/dba/functions/dba-open.xml Thu Apr 25 17:45:45 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/dba.xml, last change in rev 1.2 -->
<refentry id="function.dba-open">
<refnamediv>
@@ -9,7 +9,7 @@
<refsect1>
<title>Description</title>
<methodsynopsis>
- <type>int</type><methodname>dba_open</methodname>
+ <type>resource</type><methodname>dba_open</methodname>
<methodparam><type>string</type><parameter>path</parameter></methodparam>
<methodparam><type>string</type><parameter>mode</parameter></methodparam>
<methodparam><type>string</type><parameter>handler</parameter></methodparam>
@@ -30,7 +30,7 @@
create, truncate and read/write access.
</para>
<para>
- <parameter>handler</parameter> is the <link linkend="ref.dba">name
+ <parameter>handler</parameter> is the <link linkend="dba.requirements">name
of the handler</link> which shall be
used for accessing <parameter>path</parameter>. It is passed all optional
parameters given to <function>dba_open</function> and can act on behalf of
Index: phpdoc/en/reference/dba/functions/dba-nextkey.xml
diff -u phpdoc/en/reference/dba/functions/dba-nextkey.xml:1.2
phpdoc/en/reference/dba/functions/dba-nextkey.xml:1.3
--- phpdoc/en/reference/dba/functions/dba-nextkey.xml:1.2 Wed Apr 17 02:37:15
2002
+++ phpdoc/en/reference/dba/functions/dba-nextkey.xml Thu Apr 25 17:45:45 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/dba.xml, last change in rev 1.2 -->
<refentry id="function.dba-nextkey">
<refnamediv>
@@ -10,7 +10,7 @@
<title>Description</title>
<methodsynopsis>
<type>string</type><methodname>dba_nextkey</methodname>
- <methodparam><type>int</type><parameter>handle</parameter></methodparam>
+ <methodparam><type>resource</type><parameter>handle</parameter></methodparam>
</methodsynopsis>
<para>
<function>dba_nextkey</function> returns the next key of the database
@@ -28,7 +28,7 @@
<para>
See also:
<function>dba_firstkey</function>
- and example 2 in the <link linkend="ref.dba">DBA overview</link>
+ and example 2 in the <link linkend="dba.examples">DBA examples</link>
</para>
</refsect1>
</refentry>
Index: phpdoc/en/reference/dba/functions/dba-insert.xml
diff -u phpdoc/en/reference/dba/functions/dba-insert.xml:1.2
phpdoc/en/reference/dba/functions/dba-insert.xml:1.3
--- phpdoc/en/reference/dba/functions/dba-insert.xml:1.2 Wed Apr 17 02:37:15
2002
+++ phpdoc/en/reference/dba/functions/dba-insert.xml Thu Apr 25 17:45:45 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/dba.xml, last change in rev 1.2 -->
<refentry id="function.dba-insert">
<refnamediv>
@@ -12,7 +12,7 @@
<type>bool</type><methodname>dba_insert</methodname>
<methodparam><type>string</type><parameter>key</parameter></methodparam>
<methodparam><type>string</type><parameter>value</parameter></methodparam>
- <methodparam><type>int</type><parameter>handle</parameter></methodparam>
+ <methodparam><type>resource</type><parameter>handle</parameter></methodparam>
</methodsynopsis>
<para>
<function>dba_insert</function> inserts the entry described with
Index: phpdoc/en/reference/dba/functions/dba-firstkey.xml
diff -u phpdoc/en/reference/dba/functions/dba-firstkey.xml:1.2
phpdoc/en/reference/dba/functions/dba-firstkey.xml:1.3
--- phpdoc/en/reference/dba/functions/dba-firstkey.xml:1.2 Wed Apr 17 02:37:14
2002
+++ phpdoc/en/reference/dba/functions/dba-firstkey.xml Thu Apr 25 17:45:45 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/dba.xml, last change in rev 1.2 -->
<refentry id="function.dba-firstkey">
<refnamediv>
@@ -10,7 +10,7 @@
<title>Description</title>
<methodsynopsis>
<type>string</type><methodname>dba_firstkey</methodname>
- <methodparam><type>int</type><parameter>handle</parameter></methodparam>
+ <methodparam><type>resource</type><parameter>handle</parameter></methodparam>
</methodsynopsis>
<para>
<function>dba_firstkey</function> returns the first key of the
@@ -29,7 +29,7 @@
<para>
See also:
<function>dba_nextkey</function>
- and example 2 in the <link linkend="ref.dba">DBA overview</link>
+ and example 2 in the <link linkend="dba.examples">DBA examples</link>
</para>
</refsect1>
</refentry>
Index: phpdoc/en/reference/dba/functions/dba-fetch.xml
diff -u phpdoc/en/reference/dba/functions/dba-fetch.xml:1.2
phpdoc/en/reference/dba/functions/dba-fetch.xml:1.3
--- phpdoc/en/reference/dba/functions/dba-fetch.xml:1.2 Wed Apr 17 02:37:14 2002
+++ phpdoc/en/reference/dba/functions/dba-fetch.xml Thu Apr 25 17:45:45 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/dba.xml, last change in rev 1.2 -->
<refentry id="function.dba-fetch">
<refnamediv>
@@ -11,7 +11,7 @@
<methodsynopsis>
<type>string</type><methodname>dba_fetch</methodname>
<methodparam><type>string</type><parameter>key</parameter></methodparam>
- <methodparam><type>int</type><parameter>handle</parameter></methodparam>
+ <methodparam><type>resource</type><parameter>handle</parameter></methodparam>
</methodsynopsis>
<para>
<function>dba_fetch</function> fetches the data specified by
Index: phpdoc/en/reference/dba/functions/dba-exists.xml
diff -u phpdoc/en/reference/dba/functions/dba-exists.xml:1.2
phpdoc/en/reference/dba/functions/dba-exists.xml:1.3
--- phpdoc/en/reference/dba/functions/dba-exists.xml:1.2 Wed Apr 17 02:37:14
2002
+++ phpdoc/en/reference/dba/functions/dba-exists.xml Thu Apr 25 17:45:45 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/dba.xml, last change in rev 1.2 -->
<refentry id="function.dba-exists">
<refnamediv>
@@ -11,7 +11,7 @@
<methodsynopsis>
<type>bool</type><methodname>dba_exists</methodname>
<methodparam><type>string</type><parameter>key</parameter></methodparam>
- <methodparam><type>int</type><parameter>handle</parameter></methodparam>
+ <methodparam><type>resource</type><parameter>handle</parameter></methodparam>
</methodsynopsis>
<para>
<function>dba_exists</function> checks whether the specified
Index: phpdoc/en/reference/dba/functions/dba-delete.xml
diff -u phpdoc/en/reference/dba/functions/dba-delete.xml:1.2
phpdoc/en/reference/dba/functions/dba-delete.xml:1.3
--- phpdoc/en/reference/dba/functions/dba-delete.xml:1.2 Wed Apr 17 02:37:14
2002
+++ phpdoc/en/reference/dba/functions/dba-delete.xml Thu Apr 25 17:45:45 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/dba.xml, last change in rev 1.2 -->
<refentry id="function.dba-delete">
<refnamediv>
@@ -11,7 +11,7 @@
<methodsynopsis>
<type>bool</type><methodname>dba_delete</methodname>
<methodparam><type>string</type><parameter>key</parameter></methodparam>
- <methodparam><type>int</type><parameter>handle</parameter></methodparam>
+ <methodparam><type>resource</type><parameter>handle</parameter></methodparam>
</methodsynopsis>
<para>
<function>dba_delete</function> deletes the entry specified by
Index: phpdoc/en/reference/dba/functions/dba-close.xml
diff -u phpdoc/en/reference/dba/functions/dba-close.xml:1.2
phpdoc/en/reference/dba/functions/dba-close.xml:1.3
--- phpdoc/en/reference/dba/functions/dba-close.xml:1.2 Wed Apr 17 02:37:13 2002
+++ phpdoc/en/reference/dba/functions/dba-close.xml Thu Apr 25 17:45:45 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/dba.xml, last change in rev 1.2 -->
<refentry id="function.dba-close">
<refnamediv>
@@ -10,11 +10,11 @@
<title>Description</title>
<methodsynopsis>
<type>void</type><methodname>dba_close</methodname>
- <methodparam><type>int</type><parameter>handle</parameter></methodparam>
+ <methodparam><type>resource</type><parameter>handle</parameter></methodparam>
</methodsynopsis>
<para>
<function>dba_close</function> closes the established database
- and frees all resources specified by
+ and frees all resources specified by
<parameter>handle</parameter>.
</para>
<para>