summaryrefslogtreecommitdiff
path: root/documentation/parameters.html
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-13 10:50:56 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-13 10:50:56 +0100
commitd724e346b28df9907a2ec115d20416944ea10d8a (patch)
treed9ff51e81c8ca5c77e53865a190eac999cc94556 /documentation/parameters.html
parent3bb0e31416994b0a36b784c8278b1c5f33999b1d (diff)
added id to all h2 tags to make it possible to link to specific sections, update documentation about serializable, fixed compile error for serialize implementation
Diffstat (limited to 'documentation/parameters.html')
-rw-r--r--documentation/parameters.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/documentation/parameters.html b/documentation/parameters.html
index 94c0352..0051f51 100644
--- a/documentation/parameters.html
+++ b/documentation/parameters.html
@@ -42,7 +42,7 @@ extern "C" {
will be filled with three members, and that two of them are objects of the
appropriate type.
</p>
-<h2>Can you really enforce scalar parameters?</h2>
+<h2 id="enforce-scalar-parameters">Can you really enforce scalar parameters?</h2>
<p>
You may be surprised to see that we specified the first parameter to be of
type Numeric. After all, in PHP there is no offical way to enforce the type of a
@@ -114,7 +114,7 @@ example("x", "y", "z");
The PHP engine will trigger an error if your function is called with wrong
parameters, and will not make the actual call to the native function.
</p>
-<h2>The Php::ByVal class further explained</h2>
+<h2 id="byval-explained">The Php::ByVal class further explained</h2>
<p>
The Php::ByVal class that we showed can be constructed in two ways.
Let's look at the first constructor from the C++ header file:
@@ -221,7 +221,7 @@ extern "C" {
}
</pre></code>
</p>
-<h2>Parameters by reference</h2>
+<h2 id="parameters-by-reference">Parameters by reference</h2>
<p>
By the name of the Php::ByVal class you may have concluded that there
must also be a Php::ByRef class - and you could not have been more right than that.
@@ -278,7 +278,7 @@ swap(10,20);
?&gt;
</code></pre>
</p>
-<h2>Summary</h2>
+<h2 id="summary">Summary</h2>
<p>
When you add your native functions to the extension object, you may supply
an optional third parameter with a list of Php::ByVal and Php::ByRef objects