For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > August 2005 > cvs: phpdoc /en/language/oop5 visibility.xml









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phpdoc /en/language/oop5 visibility.xml
Jakub Vrana

2005-08-29, 6:56 pm

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/...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>
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com