summaryrefslogtreecommitdiff
path: root/documentation/constructors-and-destructors.html
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/constructors-and-destructors.html')
-rw-r--r--documentation/constructors-and-destructors.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/constructors-and-destructors.html b/documentation/constructors-and-destructors.html
index d66e8a4..110ed60 100644
--- a/documentation/constructors-and-destructors.html
+++ b/documentation/constructors-and-destructors.html
@@ -138,7 +138,7 @@ echo($counter->value()."\n");
?>
</code></pre>
</p>
-<h2>Private constructors</h2>
+<h2 id="private-constructors">Private constructors</h2>
<p>
Just like any other method, the __construct() method can also be
marked as being private or protected. If you do this, you will make it
@@ -176,7 +176,7 @@ extern "C" {
needs a copy constructor, which is called when a "clone $object" instruction
is given in a PHP script.
</p>
-<h2>Constructing objects</h2>
+<h2 id="constructing-objects">Constructing objects</h2>
<p>
The Php::Value class can be used as a regular PHP $variable, and you can therefore
also use it for storing object instances. But how do you create brand