Looks now more like XML.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@32297 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Egon Schmid 2000-09-09 01:06:51 +00:00
parent e3de219682
commit 9904027e99

View file

@ -21,8 +21,8 @@
database and will do nothing for others.
</para>
<para>
To add support for any of the following handlers, add the specified --with
configure switch to your PHP configure line:
To add support for any of the following handlers, add the
specified --with configure switch to your PHP configure line:
<itemizedlist>
<listitem>
<simpara>
@ -333,35 +333,33 @@ for ($i = 0; $i &lt; count($handle_later); $i++)
<paramdef>int <parameter>handle</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
<function>dba_insert</function> inserts the entry described with
<parameter>key</parameter> and <parameter>value</parameter> into the
database specified by <parameter>handle</parameter>. It fails, if an entry
with the same <parameter>key</parameter> already exists.</para>
with the same <parameter>key</parameter> already exists.
</para>
<para>
<parameter>key</parameter> is the key of the entry to be inserted.</para>
<parameter>key</parameter> is the key of the entry to be inserted.
</para>
<para>
<parameter>value</parameter> is the value to be inserted.</para>
<parameter>value</parameter> is the value to be inserted.
</para>
<para>
<parameter>handle</parameter> is a database handle returned by
<function>dba_open</function>.</para>
<function>dba_open</function>.
</para>
<para>
<function>dba_insert</function> returns true or false, depending on
whether it succeeds of fails, respectively.</para>
whether it succeeds of fails, respectively.
</para>
<para>
See also:
<function>dba_exists</function>
<function>dba_delete</function>
<function>dba_fetch</function>
<function>dba_replace</function>
</para>
</para>
</refsect1>
</refentry>
@ -378,25 +376,23 @@ for ($i = 0; $i &lt; count($handle_later); $i++)
<paramdef>int <parameter>handle</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
<function>dba_nextkey</function> returns the next key of the database
specified by <parameter>handle</parameter> and increments the internal
key pointer.</para>
key pointer.
</para>
<para>
<parameter>handle</parameter> is a database handle returned by
<function>dba_open</function>.</para>
<function>dba_open</function>.
</para>
<para>
<function>dba_nextkey</function> returns the key or false depending on
whether it succeeds or fails, respectively.</para>
whether it succeeds or fails, respectively.
</para>
<para>
See also:
<function>dba_firstkey</function>
</para>
</para>
</refsect1>
</refentry>
@ -420,33 +416,32 @@ for ($i = 0; $i &lt; count($handle_later); $i++)
<para>
<function>dba_popen</function> establishes a persistent database instance
for <parameter>path</parameter> with <parameter>mode</parameter> using
<parameter>handler</parameter>.</para>
<parameter>handler</parameter>.
</para>
<para>
<parameter>path</parameter> is commonly a regular path in your filesystem.</para>
<parameter>path</parameter> is commonly a regular path in your filesystem.
</para>
<para>
<parameter>mode</parameter> is "r" for read access, "w" for read/write
access to an already existing database, "c" for read/write access
and database creation if it doesn't currently exist, and "n" for
create, truncate and read/write access.</para>
create, truncate and read/write access.
</para>
<para>
<parameter>handler</parameter> is the name of the handler 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
of them.</para>
of them.
</para>
<para>
<function>dba_popen</function> returns a positive handler id or false, in
the case the open is successful or fails, respectively.</para>
the case the open is successful or fails, respectively.
</para>
<para>
See also:
<function>dba_open</function>
<function>dba_close</function>
</para>
</para>
</refsect1>
</refentry>
@ -466,37 +461,35 @@ for ($i = 0; $i &lt; count($handle_later); $i++)
<paramdef><parameter><optional>...</optional></parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
<function>dba_open</function> establishes a database instance for
<parameter>path</parameter> with <parameter>mode</parameter> using
<parameter>handler</parameter>.</para>
<parameter>handler</parameter>.
</para>
<para>
<parameter>path</parameter> is commonly a regular path in your filesystem.</para>
<parameter>path</parameter> is commonly a regular path in your filesystem.
</para>
<para>
<parameter>mode</parameter> is "r" for read access, "w" for read/write
access to an already existing database, "c" for read/write access
and database creation if it doesn't currently exist, and "n" for
create, truncate and read/write access.</para>
create, truncate and read/write access.
</para>
<para>
<parameter>handler</parameter> is the name of the handler 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
them.</para>
them.
</para>
<para>
<function>dba_open</function> returns a positive handler id or false, in
the case the open is successful or fails, respectively.</para>
the case the open is successful or fails, respectively.
</para>
<para>
See also:
<function>dba_popen</function>
<function>dba_close</function>
</para>
</para>
</refsect1>
</refentry>
@ -513,24 +506,22 @@ for ($i = 0; $i &lt; count($handle_later); $i++)
<paramdef>int <parameter>handle</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
<function>dba_optimize</function> optimizes the underlying database
specified by <parameter>handle</parameter>.</para>
specified by <parameter>handle</parameter>.
</para>
<para>
<parameter>handle</parameter> is a database handle returned by
<function>dba_open</function>.</para>
<function>dba_open</function>.
</para>
<para>
<function>dba_optimize</function> returns true or false, if the
optimization succeeds or fails, respectively.</para>
optimization succeeds or fails, respectively.
</para>
<para>
See also:
<function>dba_sync</function>
</para>
</para>
</refsect1>
</refentry>
@ -549,34 +540,30 @@ for ($i = 0; $i &lt; count($handle_later); $i++)
<paramdef>int <parameter>handle</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
<function>dba_replace</function> replaces or inserts the entry described
with <parameter>key</parameter> and <parameter>value</parameter> into the
database specified by <parameter>handle</parameter>.</para>
database specified by <parameter>handle</parameter>.
</para>
<para>
<parameter>key</parameter> is the key of the entry to be inserted.</para>
<parameter>key</parameter> is the key of the entry to be inserted.
</para>
<para>
<parameter>value</parameter> is the value to be inserted.</para>
<parameter>value</parameter> is the value to be inserted.
</para>
<para>
<parameter>handle</parameter> is a database handle returned by
<function>dba_open</function>.</para>
<function>dba_open</function>.
</para>
<para>
<function>dba_replace</function> returns true or false, depending on
whether it succeeds of fails, respectively.</para>
whether it succeeds of fails, respectively.
</para>
<para>
See also:
<function>dba_exists</function>
<function>dba_delete</function>
<function>dba_fetch</function>
<function>dba_insert</function>
</para>
See also: <function>dba_exists</function>,
<function>dba_delete</function>, <function>dba_fetch</function>,
and <function>dba_insert</function>.
</para>
</refsect1>
</refentry>
@ -593,27 +580,25 @@ for ($i = 0; $i &lt; count($handle_later); $i++)
<paramdef>int <parameter>handle</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
<function>dba_sync</function> synchronizes the database specified by
<parameter>handle</parameter>. This will probably trigger a physical write
to disk, if supported.</para>
to disk, if supported.
</para>
<para>
<parameter>handle</parameter> is a database handle returned by
<function>dba_open</function>.</para>
<function>dba_open</function>.
</para>
<para>
<function>dba_sync</function> returns true or false, if the
synchronization succeeds or fails, respectively.</para>
synchronization succeeds or fails, respectively.
</para>
<para>
See also:
<function>dba_optimize</function>
</para>
See also: <function>dba_optimize</function>
</para>
</refsect1>
</refentry>
</reference>
<!-- Keep this comment at the end of the file