reworded visibility explenation & fixed typo

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237219 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Maciek Sokolewicz 2007-06-08 12:48:13 +00:00
parent 17df138124
commit 5435394431

View file

@ -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>