PHP Classes are not so powerful as C++. No there is no division ot private and public 
or protected. All is public but good technique
is to name methods you prefer to be private with a underbar at the start.

Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLUTIONS

----- Original Message -----
From: "Oliver Ruf" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 25, 2001 4:34 PM
Subject: [PHP] public and private parts in classes ?


> Hello
>
> I'm sorry, if this is a faq. But I would like to know, if there exist
> public and private parts in classes like in c++ ?
>
> AFAIK there are no public and private parts supportet.
>
> I would be pleased to get either a confirmation on that or, if it works,
> some information on how to do it.
>
> Thanx for your support!
> Oliver
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to