Re: parent constructor

From: Date: Wed, 07 Feb 2001 11:13:33 +0000
Subject: Re: parent constructor
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-38525@lists.php.net to get a copy of this message
On Wednesday 07 February 2001 05:14, Aaron Tuller wrote: > ok, I == dumb. this works: > > $parentClass = get_parent_class($this); > eval("$parentClass::$parentClass();"); > > still, I think I should be able to do what I wrote below. Um, you know the name of your parent class, so why do you use get_parent_class() at all? -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) "Software is like sex: the best is for free" -- Linus Torvalds

« previous php.general (#38525) next »