Protected properties are visible from parents too (bug #34060)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@194572 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2005-08-29 15:51:56 +00:00
parent 9a122ed83f
commit ee03d7c8ef

View file

@ -1,13 +1,13 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.7 $ -->
<!-- $Revision: 1.8 $ -->
<sect1 id="language.oop5.visibility">
<title>Visibility</title>
<para>
The visibility of a property or method can be defined by prefixing the
declaration with the keywords: public, protected or private. Public
declared items can be accessed everywhere. Protected limits access to
inherited classes (and to the class that defines the item). Private limits
visibility only to the class that defines the item.
inherited and parent classes (and to the class that defines the item).
Private limits visibility only to the class that defines the item.
</para>
<sect2 id="language.oop5.visiblity-members">
<title>Members Visibility</title>