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/internals2.counter.extended-interface.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/internals2.counter.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'internals2.counter.extended-interface.php',
1 => 'Extended',
),
'up' =>
array (
0 => 'internals2.counter.php',
1 => 'The "counter" Extension - A Continuing Example',
),
'prev' =>
array (
0 => 'internals2.counter.function.counter-reset.php',
1 => 'counter_reset',
),
'next' =>
array (
0 => 'internals2.counter.function.counter-create.php',
1 => 'counter_create',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div>
<h1 class="title">The extended interface</h1>
<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="internals2.counter.function.counter-create.php">counter_create</a> — Creates a counter which maintains a single numeric value.</li><li><a href="internals2.counter.function.counter-get-value.php">counter_get_value</a> — Get the current value of a counter resource.</li><li><a href="internals2.counter.function.counter-bump-value.php">counter_bump_value</a> — Change the current value of a counter resource.</li><li><a href="internals2.counter.function.counter-reset-value.php">counter_reset_value</a> — Reset the current value of a counter resource.</li><li><a href="internals2.counter.function.counter-get-meta.php">counter_get_meta</a> — Return a piece of metainformation about a counter resource.</li><li><a href="internals2.counter.function.counter-get-named.php">counter_get_named</a> — Retrieve an existing named counter as a resource.</li></ul>
</div>
<?php manual_footer(); ?>