Re: Re: how to mark protected properties?

From: Date: Mon, 07 Jun 2004 19:37:21 +0000
Subject: Re: Re: how to mark protected properties?
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-30089@lists.php.net to get a copy of this message
Michael Wallner wrote:
Hi Daniel Convissor, you wrote:
Hi Folks:
So, should @private items be preceeded by "_", nothing, or something else?
             ^ protected
+1 for nothing ;) Regards,
+1 for "_" -- unless the package is only php5 compatible. In that case, I would still argue that private items should be prefixed with "_", as it makes it easier to understand a package at first read, but I'm not dogmatic about it. However, in both cases, protected items should not need to be prefixed. Klaus

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