From: Jon Parise Date: Wed, 18 Jul 2001 00:27:15 +0000 (+0000) Subject: Private members don't have to be functions. X-Git-Tag: PRE_TSRM_MERGE_PATCH~96 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dc5e76ec577c9f43d0852ed429672d86ad9d5cdc;p=php Private members don't have to be functions. --- diff --git a/pear/CODING_STANDARDS b/pear/CODING_STANDARDS index 20f25a06cb..b9dd40f100 100644 --- a/pear/CODING_STANDARDS +++ b/pear/CODING_STANDARDS @@ -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 ------------