Overloading object methods

From: Date: Thu, 09 Jan 2003 10:28:04 +0000
Subject: Overloading object methods
Groups: php.dev 
Request: Send a blank email to php-dev+get-93279@lists.php.net to get a copy of this message
Does someone know how to call a parent's object method? Not contructor (because that is easy) but a method with the same name. For example, if I have a method that is called pippo() and at the end of the method i want to call parent::pippo(), how could I do? I tried with call_user_function using &(this_object->ce->parent->function_table) as the function table, but I don't know how to pass the underlyig object. Thanks, Stefano

« previous php.dev (#93279) next »