From ee03d7c8ef89af2197eec3085634c94f1e10f67f Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Mon, 29 Aug 2005 15:51:56 +0000 Subject: [PATCH] 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 --- language/oop5/visibility.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/language/oop5/visibility.xml b/language/oop5/visibility.xml index b86b2c1396..dc5fc39b21 100644 --- a/language/oop5/visibility.xml +++ b/language/oop5/visibility.xml @@ -1,13 +1,13 @@ - + Visibility 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. Members Visibility