Since you're invoking this as a static method the only solution that
comes to mind is to use the PHP5 builtin class Reflection_Method and/or
Refelction_Class. Perhaps something like:
<?php
Class Test {
function Test() {
echo 'Test';
}
}
Class MyClass extends Test {
function Debug() {
print 'Hello MyClass';
}
}
$reflection = new Reflection_Method('MyClass', 'Test');
echo "The declaring class is: " . $reflection->getDeclaringClass()->name;
?>
For a good overview of what you can do with Reflection_Method, see:
http://sitten-polizei.de/php/reflection_api/docs/language.reflection.class.reflection_method.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php