which class it is?
| From: | yangshiqi | Date: | Fri, 04 Mar 2005 04:25:10 +0000 |
| Subject: | which class it is? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-209959@lists.php.net to get a copy of this message | ||
I have a question that how to get the class name, which is initialized by
other class or function.
For example:
Class a
{
Function a(){}
}
Class b
{
Function b()
{
$a= new a;
...
}
}
How can I get class b's name in a?
Best regards,
Yang Shiqi