sean Wed Aug 3 12:06:08 2005 EDT
Modified files:
/phpdoc/en/language/oop5 abstract.xml
Log:
clear up implementation paragraph and add not about extending an abstract
class' abstract methods
http://cvs.php.net/diff.php/phpdoc/en/language/oop5/abstract.xml?r1=1.10&r2=1.11&ty=u
Index: phpdoc/en/language/oop5/abstract.xml
diff -u phpdoc/en/language/oop5/abstract.xml:1.10
phpdoc/en/language/oop5/abstract.xml:1.11
--- phpdoc/en/language/oop5/abstract.xml:1.10 Wed Aug 3 12:00:15 2005
+++ phpdoc/en/language/oop5/abstract.xml Wed Aug 3 12:06:08 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.10 $ -->
+<!-- $Revision: 1.11 $ -->
<sect1 id="language.oop5.abstract">
<title>Class Abstraction</title>
@@ -12,10 +12,12 @@
</para>
<para>
- The class that implements the abstract method must define with the same
- <link linkend="language.oop5.visibility">visibillity</link> or weaker. If
the
- abstract method is defined as protected, the function implementation must be
- defined as either protected or public.
+ 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,
+ if the abstract method is defined as protected, the function implementation
+ must be defined as either protected or public.
</para>
<example>