note 35950 added to language.oop.constructor

From: Date: Sat, 20 Sep 2003 08:08:52 +0000
Subject: note 35950 added to language.oop.constructor
Groups: php.notes 
Request: Send a blank email to php-notes+get-56803@lists.php.net to get a copy of this message
Adding to the last post... If u DON'T WANT to override the parent creator just put <? // ... function On_Create() { parent::On_Create(); // Some code } //... ?> It will calls the parent creator and u can extend how many classes do you even want to... ---- Manual Page -- http://www.php.net/manual/en/language.oop.constructor.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35950 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35950&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35950&report=yes

« previous php.notes (#56803) next »