Re: Classes and functions
| From: | Roko Roic | Date: | Wed, 28 Nov 2001 10:18:01 +0000 |
| Subject: | Re: Classes and functions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-75869@lists.php.net to get a copy of this message | ||
> I'm writing a class for POP3 access and I want some of the internal
> functions to be private, like the mime decoding stuff.
>
> Is there any way to do this? I found nothing in the docs :(
Unfortunately, PHP does not understand terms private, public, protected...
PHP coders adopted a coding standard to name all 'private' methdods like
_methodName()
i.e. Beginning with an underscore.
That's the best you can do, so live with it :)
Cheers
Roko