From 6bc3f3573775dbdb99b42f4292996c55b4eaca6c Mon Sep 17 00:00:00 2001 From: Curt Zirzow <curt@php.net> Date: Sun, 22 Aug 2004 23:36:59 +0000 Subject: [PATCH] elaborate when inherited constructors arn't called. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@167031 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/oop5/decon.xml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/language/oop5/decon.xml b/language/oop5/decon.xml index f2bee9b3bb..61b732edaf 100644 --- a/language/oop5/decon.xml +++ b/language/oop5/decon.xml @@ -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>