Re: [CFV] how to mark protected items?
| From: | Bertrand Mansion | Date: | Tue, 22 Jun 2004 07:56:42 +0000 |
| Subject: | Re: [CFV] how to mark protected items? | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-31077@lists.php.net to get a copy of this message | ||
Daniel Convissor wrote:
>Hi Folks:
>
>Okay, it's been almost a week. Here's the status so far:
>
>6 a) no special indicators.
>9 b) preceeded by an underscore (eg $_someVar).
>2 c) preceeded by something else (indicate what).
>0 d) I abstain.
>1 Did not cast a vote.
>
>So, at first glance, the "_" prefix is in the lead.
>
>Upon further examination, the peple who voted for something else said the
>indications should be in the @access docblock tag (Ian) or in PHP 5 just
>use "protected" in the property declaration (Bertrand). Reading between
>the lines, one could say they don't want a prefix.
Hi Daniel,
Your assumptions are correct.
Thanks,
Bertrand Mansion
Mamasam