diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-13 22:17:01 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-13 22:17:01 +0100 |
commit | 4fea3363bafc0c19f610fa3bff10b488733a4eb1 (patch) | |
tree | 2fda6cf6bef0ea9afed8296a9b512fb285657e44 | |
parent | 20559a70bfd9d18c6ba3138878c0e1936a78e684 (diff) |
update documentation
-rw-r--r-- | documentation/classes-and-objects.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/documentation/classes-and-objects.html b/documentation/classes-and-objects.html index 32ca15c..6e565ab 100644 --- a/documentation/classes-and-objects.html +++ b/documentation/classes-and-objects.html @@ -484,8 +484,8 @@ extern "C" { <p> In the previous section we showed how to use the Php::Final and Php::Abstract flags to create a final or abstract method. If you want to make your entire - class abstract or final, you can do so by using Php::FinalClass or - Php::AbstractClass instead of Php::Class. + class abstract or final, you can do so by passing that flag to the Php::Class + constructor. </p> <p> <pre class="language-c++"><code> @@ -504,7 +504,7 @@ extern "C" { static Php::Extension myExtension("my_extension", "1.0"); // description of the class so that PHP knows which methods are accessible - Php::FinalClass<Counter> counter("Counter"); + Php::Class<Counter> counter("Counter", Php::Final); // register methods ... |