mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fixed build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304570 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
303198cd29
commit
dcac1cb0bf
1 changed files with 9 additions and 8 deletions
|
@ -18,6 +18,15 @@
|
|||
need to reimplement all of the shared functionality.
|
||||
</para>
|
||||
|
||||
<note>
|
||||
<para>
|
||||
Unless autoloading is used, then classes must be defined before they are
|
||||
used. If a class extends another, then the parent class must be declared
|
||||
before the child class structure. This rule applies to class that inherit
|
||||
other classes and interfaces.
|
||||
</para>
|
||||
</note>
|
||||
|
||||
<sect2 xml:id="language.oop5.inheritance.examples">
|
||||
<example xml:id="language.oop5.inheritance.examples.ex1">
|
||||
<title>Inheritance Example</title>
|
||||
|
@ -59,14 +68,6 @@ $bar->printPHP(); // Output: 'PHP is great'
|
|||
</example>
|
||||
</sect2>
|
||||
|
||||
<note>
|
||||
<para>
|
||||
Unless autoloading is used, then classes must be defined before they are
|
||||
used. If a class extends another, then the parent class must be declared
|
||||
before the child class structure. This rule applies to class that inherit
|
||||
other classes and interfaces.
|
||||
</para>
|
||||
</note>
|
||||
</sect1>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
|
Loading…
Reference in a new issue