Our source is open
The syntax highlighted source is automatically generated by PHP from
the plaintext script.
If you're interested in what's behind the several functions we
used, you can always take a look at the source of the following files:
Of course, if you want to see the source
of this page, we have it available.
You can also browse the SVN repository for this website on
svn.php.net.
Source of: /manual/en/book.dba.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/refs.database.abstract.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'book.dba.php',
1 => 'DBA',
),
'up' =>
array (
0 => 'refs.database.abstract.php',
1 => 'Abstraction Layers',
),
'prev' =>
array (
0 => 'refs.database.abstract.php',
1 => 'Abstraction Layers',
),
'next' =>
array (
0 => 'intro.dba.php',
1 => 'Introduction',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div>
<h1 class="title">Database (dbm-style) Abstraction Layer</h1>
<ul class="chunklist chunklist_book"><li><a href="intro.dba.php">Introduction</a></li><li><a href="dba.setup.php">Installing/Configuring</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="dba.requirements.php">Requirements</a></li><li><a href="dba.installation.php">Installation</a></li><li><a href="dba.configuration.php">Runtime Configuration</a></li><li><a href="dba.resources.php">Resource Types</a></li></ul></li><li><a href="dba.constants.php">Predefined Constants</a></li><li><a href="dba.examples.php">Examples</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="dba.example.php">Basic usage</a></li></ul></li><li><a href="ref.dba.php">DBA Functions</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.dba-close.php">dba_close</a> — Close a DBA database</li><li><a href="function.dba-delete.php">dba_delete</a> — Delete DBA entry specified by key</li><li><a href="function.dba-exists.php">dba_exists</a> — Check whether key exists</li><li><a href="function.dba-fetch.php">dba_fetch</a> — Fetch data specified by key</li><li><a href="function.dba-firstkey.php">dba_firstkey</a> — Fetch first key</li><li><a href="function.dba-handlers.php">dba_handlers</a> — List all the handlers available</li><li><a href="function.dba-insert.php">dba_insert</a> — Insert entry</li><li><a href="function.dba-key-split.php">dba_key_split</a> — Splits a key in string representation into array representation</li><li><a href="function.dba-list.php">dba_list</a> — List all open database files</li><li><a href="function.dba-nextkey.php">dba_nextkey</a> — Fetch next key</li><li><a href="function.dba-open.php">dba_open</a> — Open database</li><li><a href="function.dba-optimize.php">dba_optimize</a> — Optimize database</li><li><a href="function.dba-popen.php">dba_popen</a> — Open database persistently</li><li><a href="function.dba-replace.php">dba_replace</a> — Replace or insert entry</li><li><a href="function.dba-sync.php">dba_sync</a> — Synchronize database</li></ul></li></ul></div><?php manual_footer(); ?>