note 44102 added to language.oop5.visibility
| From: | cne at lap dot ee | Date: | Thu, 15 Jul 2004 09:12:03 +0000 |
| Subject: | note 44102 added to language.oop5.visibility | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-73272@lists.php.net to get a copy of this message | ||
> Protected limits access access to only classes inherited.
Of course the defining class itself can access it too, not just inherited ones.
> Protected limits visiblity only to the class that defines the item.
And this one should of course say private, not protected.
----
Manual Page -- http://www.php.net/manual/en/language.oop5.visibility.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+44102
Delete -- http://master.php.net/manage/user-notes.php?action=delete+44102&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+44102&report=yes
Search -- http://master.php.net/manage/user-notes.php