From 780b92ada9afcf1d58085a83a0b9e6bc982203d1 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 17 Feb 2015 17:25:57 +0000 Subject: Imported from /home/lorry/working-area/delta_berkeleydb/db-6.1.23.tar.gz. --- docs/programmer_reference/ext_php.html | 63 ++++++++++++++++++++-------------- 1 file changed, 38 insertions(+), 25 deletions(-) (limited to 'docs/programmer_reference/ext_php.html') diff --git a/docs/programmer_reference/ext_php.html b/docs/programmer_reference/ext_php.html index 11263863..a88dcb5e 100644 --- a/docs/programmer_reference/ext_php.html +++ b/docs/programmer_reference/ext_php.html @@ -14,7 +14,7 @@ -

A PHP 4 extension for this release of Berkeley DB is included in the -distribution package. It can either either link directly against the -installed Berkeley DB library (which is necessary for running in a -non-Apache/mod_php4 environment), or against mod_db4, which provides -additional safety when running under Apache/mod_php4.

- For installation instructions, see the INSTALL file that - resides in the lang/php_db4 directory in your - Berkeley DB distribution. -

-

The PHP extension provides the following classes, which mirror the -standard Berkeley DB C++ API.

+ A PHP 4 extension for this release of Berkeley DB is + included in the distribution package. It can either either + link directly against the installed Berkeley DB library (which + is necessary for running in a non-Apache/mod_php4 + environment), or against mod_db4, which provides additional + safety when running under Apache/mod_php4. +

+

+ For installation instructions, see the + INSTALL file that resides in the + lang/php_db4 directory in your + Berkeley DB distribution. +

+

+ The PHP extension provides the following classes, which + mirror the standard Berkeley DB C++ API. +

class Db4Env {
     function Db4Env($flags = 0) {}
     function close($flags = 0) {}
@@ -60,7 +64,7 @@ standard Berkeley DB C++ API.

DB_INIT_LOG | DB_INIT_MPOOL | DB_INIT_TXN, $mode = 0666) {} function remove($home, $flags = 0) {} - function set_data_dir($directory) {} + function add_data_dir($directory) {} function txn_begin($parent_txn = null, $flags = 0) {} function txn_checkpoint($kbytes, $minutes, $flags = 0) {} } @@ -101,14 +105,24 @@ class Db4Cursor { function pget($key, &$primary_key, $flags = 0) {} function put($key, $data, $flags = 0) {} }
-

The PHP extension attempts to be "smart" for you by:

+

+ The PHP extension attempts to be "smart" for you by: +

    -
  1. Auto-committing operations on transactional databases if no explicit -Db4Txn object is specified.
  2. -
  3. Performing reference and dependency checking to insure that all -resources are closed in the correct order.
  4. -
  5. Supplying default values for flags.
  6. +
  7. + Auto-committing operations on transactional + databases if no explicit Db4Txn object is + specified. +
  8. +
  9. + Performing reference and dependency checking to + insure that all resources are closed in the correct + order. +
  10. +
  11. + Supplying default values for flags. +
@@ -127,9 +141,8 @@ resources are closed in the correct order. Home -  Chapter 23.  - Dumping and Reloading Databases - +  Chapter 23.  Dumping and Reloading Databases + -- cgit v1.2.1