]> granicus.if.org Git - php/commitdiff
Private members don't have to be functions.
authorJon Parise <jon@php.net>
Wed, 18 Jul 2001 00:27:15 +0000 (00:27 +0000)
committerJon Parise <jon@php.net>
Wed, 18 Jul 2001 00:27:15 +0000 (00:27 +0000)
pear/CODING_STANDARDS

index 20f25a06cbfb5e2852ec7c26fc4a1fb36a1281b6..b9dd40f10038592f34bbeb79e1c68c759290ed14 100644 (file)
@@ -129,11 +129,12 @@ and each letter that starts a new "word" is capitalized.  Some examples:
 
     connect()       getData()       buildSomeWidget()
 
-Private methods (meaning methods that an intented to be called only from
-within the same class; PHP does not yet support truly-enforceable private
-namespaces) are preceeded by a single underscore.  For example:
+Private class members (meaning class members that an intented to be used
+only from within the same class in which they are declared; PHP does not yet
+support truly-enforceable private namespaces) are preceeded by a single
+underscore.  For example:
 
-    _sort()         _initTree()     _validateInput()
+    _sort()         _initTree()     $_status
 
 
 ------------