vrana Mon Aug 29 11:51:58 2005 EDT
Modified files: /phpdoc/en/language/oop5 visibility.xml Log: Protected properties are visible from parents too (bug #34060) http://cvs.php.net/diff.php/phpdoc/en/language/oop5/visibility.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/language/oop5/visibility.xml diff -u phpdoc/en/language/oop5/visibility.xml:1.7 phpdoc/en/language/oop5/visibility.xml:1.8 --- phpdoc/en/language/oop5/visibility.xml:1.7 Wed Oct 13 07:19:09 2004 +++ phpdoc/en/language/oop5/visibility.xml Mon Aug 29 11:51:56 2005 @@ -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>