Article View: mailing.www.php-dev
Article #3Re: All PHP programmers: Follow code convention for pvt, prt and pub declaratiosn
From: jason
Date: Mon, 02 Jul 2001 08:47
Date: Mon, 02 Jul 2001 08:47
14 lines
1940 bytes
1940 bytes
I don't get this part, which I list below. In part 2 you say to start the variable with an upper case letter, then in part 4 you say this should never be done. Which is it? Is "variables" a seperate class, like private, protected, and public? I thought all variables were public by default? > 2.All Protected variables and functions always start with "_T" > followed by lowercase letters like var $_Tmyvar; > 4.All variables and functions always start with lowercase letter (no > uppercase) like var $_myvar; and NOT like var $_Myvar
Technical Details
Message-ID:
<9hp1lb$vmj$1@slb7.atl.mindspring.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!feed2.news.rcn.net!rcn!news.mindspring.net!not-for-mailReferences:
<3B3D13E4.466FD3D6@yahoo.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fce7d,96d8b970768ca3e7 X-Google-Attributes: gidfce7d,public X-Google-Thread: 10f92b,96d8b970768ca3e7 X-Google-Attributes: gid10f92b,public X-Google-Thread: 1148a8,96d8b970768ca3e7 X-Google-Attributes: gid1148a8,public X-Google-Thread: f8095,96d8b970768ca3e7 X-Google-Attributes: gidf8095,public X-Google-Thread: f9981,96d8b970768ca3e7 X-Google-Attributes: gidf9981,public X-Google-Thread: 10ce1c,96d8b970768ca3e7 X-Google-Attributes: gid10ce1c,public X-Google-ArrivalTime: 2001-07-01 22:43:28 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!feed2.news.rcn.net!rcn!news.mindspring.net!not-for-mail From: "jason" <jasonhalson@yahoo.com> Newsgroups: mailing.www.php-dev,php.general,alt.php,ba.php,de.comp.lang.php,fr.comp.infosystemes.www.auteurs.php Subject: Re: All PHP programmers: Follow code convention for pvt, prt and pub declaratiosn Date: Mon, 2 Jul 2001 01:47:35 -0700 Organization: MindSpring Enterprises Lines: 16 Message-ID: <9hp1lb$vmj$1@slb7.atl.mindspring.net> References: <3B3D13E4.466FD3D6@yahoo.com> NNTP-Posting-Host: a8.bf.d5.ef X-Server-Date: 2 Jul 2001 05:43:07 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200