diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2015-01-25 21:25:18 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2015-01-25 21:25:18 +0100 |
commit | 30eff69a10898dd9b2fb10ed07ae8c68458a5ad2 (patch) | |
tree | 88d748debfed12f1a522005d05d94347d4491745 /documentation/properties.html | |
parent | b2758c687ab8c36ef7a48787b4d590255e69cbc0 (diff) |
added documentation about class constants
Diffstat (limited to 'documentation/properties.html')
-rw-r--r-- | documentation/properties.html | 8 |
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> |