Re: Coding standards

From: Date: Sun, 15 Jul 2001 14:57:53 +0000
Subject: Re: Coding standards
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-788@lists.php.net to get a copy of this message
Erik Hjortsberg wrote: > > Is there a reason for us not to make disinction between static and entity > methods and between private and public methods? > I find it very hard to look through the code to figure out which methods I > can call when subclassing or using objects or using classes. > I've always used capitals on static methods and underscore on private. > Thus: > function foo() -- public entity method > function _foo() -- private entity method +1 nice convention > function Foo() -- public static method > function _Foo() -- private static method +0 (but probably don't want much this) Tomas V.V.Cox

« previous php.pear.dev (#788) next »