Re: @access - newbie question

From: Date: Fri, 20 Dec 2002 23:07:08 +0000
Subject: Re: @access - newbie question
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-3057@lists.php.net to get a copy of this message
--- Shane Antyr <santyr@macosx.com> wrote: > Thanks Jesus. > > I was aware that it was for documentation., but was wondering what made > it public or private. So if I read you correctly your saying private > does not apply at this point ( all @access is public?) Yep, in PHP 4 at least, marking something as private in the documentation is more a warning/suggestion for the users of your code. There is not enforcenment from the part of the interpreter. That might (or will) change once Zend 2 gets finishes as it will have more object oriented characteristics so private, public, static, etc. will have the regular meaning and enforcenment as other OOP languages. > > On Friday, December 20, 2002, at 03:11 PM, Jesus M. Castagnetto wrote: > > > There are no 'private' methods/attributes as such in PHP 4, there will > > (might?) > > be in PHP 5 ===== --- Jesus M. Castagnetto (jcastagnetto@yahoo.com) Research: http://metallo.scripps.edu/ Personal: http://www.castagnetto.org/ __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com

« previous php.pear.general (#3057) next »