curt Sun Aug 22 19:36:59 2004 EDT
Modified files: /phpdoc/en/language/oop5 decon.xml Log: elaborate when inherited constructors arn't called. http://cvs.php.net/diff.php/phpdoc/en/language/oop5/decon.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/language/oop5/decon.xml diff -u phpdoc/en/language/oop5/decon.xml:1.6 phpdoc/en/language/oop5/decon.xml:1.7 --- phpdoc/en/language/oop5/decon.xml:1.6 Sun Aug 15 13:54:28 2004 +++ phpdoc/en/language/oop5/decon.xml Sun Aug 22 19:36:59 2004 @@ -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>