Re: @access - newbie question

From: Date: Fri, 20 Dec 2002 23:12:23 +0000
Subject: Re: @access - newbie question
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-3058@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thanks again. I'm looking over the phpDocumentor documentation now. - -S On Friday, December 20, 2002, at 04:07 PM, Jesus M. Castagnetto wrote:
--- 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 -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Darwin) iD8DBQE+A6PemU+jltT1nOoRAk75AJ9DOQTBm+JqUimNF1AiOSsSRKjUdgCcD91A kiKg8jhYPI57eIO5wFR3C9s= =rDEv -----END PGP SIGNATURE-----

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