elaborate when inherited constructors arn't called.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@167031 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Curt Zirzow 2004-08-22 23:36:59 +00:00
parent 345466ea26
commit 6bc3f35737

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<!-- $Revision: 1.7 $ -->
<sect1 id="language.oop5.decon">
<title>Constructors and Destructors</title>
@ -18,9 +18,10 @@
</para>
<note>
<simpara>
Parent constructors are not called implicitly. In order to run
a parent constructor, a call to
<function>parent::__construct</function> is required.
Parent constructors are not called implicitly if the child class defines
a constructor. In order to run a parent constructor, a call to
<function>parent::__construct</function> within the child constructor is
required.
</simpara>
</note>
<example>