which class it is?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

 

 

 

 


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux