note 60889 deleted from language.oop5.visibility by nlopess
| From: | nlopess@php.net | Date: | Thu, 19 Jan 2006 13:09:27 +0000 |
| Subject: | note 60889 deleted from language.oop5.visibility by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-102096@lists.php.net to get a copy of this message | ||
Note Submitter: Eric
----
Is there a way to make a class have a variable read-only when accessed outside the class but normal
(readable and writable) when accessed inside the class, without declaring it protected and creating
a wrapper function?