summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-12 17:06:48 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-12 17:06:48 +0100
commit9111e1d4c1052f15edd4c258fbc8386dd6cac231 (patch)
tree0faab36f36f227923bcfb1942e7b3a6e7deb34ed
parent24165a2443e79c43c3c6dc63944a5dbd245f84e6 (diff)
small documentation changes
-rw-r--r--documentation/classes-and-objects.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/documentation/classes-and-objects.html b/documentation/classes-and-objects.html
index eddb7b1..3fd8811 100644
--- a/documentation/classes-and-objects.html
+++ b/documentation/classes-and-objects.html
@@ -95,7 +95,7 @@ extern "C" {
<p>
If you want to make a class method accessible from PHP, you must
ensure that it matches one of the supported signatures. These are essentially
- the same signatures as <a href="functions">exportable plain functions</a>,
+ the same signatures as <a href="functions">exportable plain functions</a>
can have, but with versions for const and non-const methods.
</p>
<p>
@@ -125,11 +125,11 @@ Php::Value YourClass::example8(Php::Parameters &amp;params) const;
</p>
<p>
The Php::Class constructor needs a string parameter, with the name of
- the class in PHP. The method Php::Class::method() can then be, as you can
+ the class in PHP. The method Php::Class::method() can then be used, as you can
see in the example above, to register methods that you want to make accessible
from PHP. Did you see that in the example we used the C++11 std::move() function
to add the class to the extension? This will actually <i>move</i> the class
- obect into the extension, which is a more efficient operation than copying.
+ object into the extension, which is a more efficient operation than copying.
</p>
<h2>Method parameters</h2>
<p>