cvs: phpdoc-de /language/oop5 final.xml
| From: | Mark Wiesemann | Date: | Mon, 01 Dec 2008 17:05:38 +0000 |
| Subject: | cvs: phpdoc-de /language/oop5 final.xml | ||
| Groups: | php.doc.de | ||
| Request: | Send a blank email to doc-de+get-2903@lists.php.net to get a copy of this message | ||
wiesemann Mon Dec 1 17:05:38 2008 UTC
Modified files:
/phpdoc-de/language/oop5 final.xml
Log:
- Bug #46721: [DE] wrong translation in Classes and Objects (PHP 5)->Final Keyword
- whitespace clean-up
http://cvs.php.net/viewvc.cgi/phpdoc-de/language/oop5/final.xml?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc-de/language/oop5/final.xml
diff -u phpdoc-de/language/oop5/final.xml:1.4 phpdoc-de/language/oop5/final.xml:1.5
--- phpdoc-de/language/oop5/final.xml:1.4 Wed Nov 5 19:04:58 2008
+++ phpdoc-de/language/oop5/final.xml Mon Dec 1 17:05:38 2008
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- EN-Revision: 1.6 Maintainer: wiesemann Status: ready -->
<sect1 xml:id="language.oop5.final" xmlns="http://docbook.org/ns/docbook">
<title>Final-Schlüsselwort</title>
<para>
PHP 5 führt das final-Schlüsselwort ein, welches Kindklassen davon abhält,
- Methoden zu überladen, indem man der Definition final voranstellt. Wenn die
+ Methoden zu überschreiben, indem man der Definition final voranstellt. Wenn die
Klasse selbst als final definiert wird, kann sie nicht erweitert werden.
</para>
-
+
<example>
<title>Beispiele für final-Methoden</title>
<programlisting role="php">
@@ -18,7 +18,7 @@
public function test() {
echo "BaseClass::test() aufgerufen\n";
}
-
+
final public function moreTesting() {
echo "BaseClass::moreTesting() aufgerufen\n";
}
@@ -30,7 +30,7 @@
}
}
// Erzeugt einen fatalen Fehler: Cannot override final method BaseClass::moreTesting()
-?>
+?>
]]>
</programlisting>
</example>
@@ -54,12 +54,12 @@
class ChildClass extends BaseClass {
}
// Erzeugt einen fatalen Fehler: Class ChildClass may not inherit from final class (BaseClass)
-?>
+?>
]]>
</programlisting>
</example>
</sect1>
-
+
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml