tularis Fri Jun 8 12:48:13 2007 UTC
Modified files: /phpdoc/en/language/oop5 abstract.xml Log: reworded visibility explenation & fixed typo http://cvs.php.net/viewvc.cgi/phpdoc/en/language/oop5/abstract.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc/en/language/oop5/abstract.xml diff -u phpdoc/en/language/oop5/abstract.xml:1.13 phpdoc/en/language/oop5/abstract.xml:1.14 --- phpdoc/en/language/oop5/abstract.xml:1.13 Wed Aug 3 16:14:00 2005 +++ phpdoc/en/language/oop5/abstract.xml Fri Jun 8 12:48:13 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> +<!-- $Revision: 1.14 $ --> <sect1 id="language.oop5.abstract"> <title>Class Abstraction</title> @@ -14,10 +14,10 @@ <para> When inheriting from an abstract class, all methods marked abstract in the parent's class declaration must be defined by the child; additionally, - these methods must be defined with the same (or weaker) - <link linkend="language.oop5.visibility">visibillity</link>. For example, + these methods must be defined with the same (or a less restricted) + <link linkend="language.oop5.visibility">visibility</link>. For example, if the abstract method is defined as protected, the function implementation - must be defined as either protected or public. + must be defined as either protected or public, but not private. </para> <example>