summaryrefslogtreecommitdiff
path: root/documentation/properties.html
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/properties.html')
-rw-r--r--documentation/properties.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/documentation/properties.html b/documentation/properties.html
index 6f3ece5..db7c44f 100644
--- a/documentation/properties.html
+++ b/documentation/properties.html
@@ -194,7 +194,13 @@ extern "C" {
</p>
<p>
The class constant can be accessed from PHP scripts using Example::MY_CONSTANT,
- and the static properties with Example::$my_property.
+ and the static properties with Example::$my_property.
+</p>
+<p>
+ Besides using the property() method, you can also
+ create class constants using the constant() method, or using the
+ Php::Constant class. More information about this can be found in our
+ <a href="constants">article about constants</a>.
</p>
<h2>Smart properties</h2>
<p>